PowUpload 1.3
UploadedFile.SaveAs�Method�(String)

Home page
Contact support

Moves an uploaded file to a new location, providing the option to specify file name. Overwriting a file of the same name is not allowed.

public�void�SaveAs(
���stringfilename
);

Parameters

filename
The name of the destination file. This cannot be a directory.

Remarks

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.

See Also

UploadedFile Class | ElementIT.PowUpload Namespace | UploadedFile.SaveAs Overload List | CopyTo method