PowUpload 1.3
UploadedFile.CopyTo�Method�(String)

Home page
Contact support

Copies an uploaded file to a new file. Overwriting a file of the same name is not allowed.

public�void�CopyTo(
���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 makes a new copy of the uploaded file. If you wish to make just a single copy of the file use the SaveAs method. It moves the file therefore it works faster.

See Also

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