Moves an uploaded file to a new location, providing the option to specify file name. Overwriting a file of the same name is allowed.
If method successed, TempFileName property will point the new file. This file will not be deleted as object disappears
Use an absolute path at the filename argument. To get the physical path that corresponds to the Web application virtual folder use Server.Mappath(“.”).
This method moves the file uploaded from the temporary folder to the specified location. So you shouldn't run this method twice. Use the CopyTo() method if you wish to make multiple copies of the same file.