Saves an uploaded file onto the server.



void SaveAs(string path)


Name Type Description
path string The path to the save destination.



This method allows you to save an uploaded file to a location in your web site or on your disk. All you need to do is to specify a valid path.

If you use the SaveAs method and no file has been uploaded a zero length file will be saved. To avoid saving zero length files check the Exists property before using the SaveAs method.

Whether the path is treated as a virtual path or an absolute path is determined by the standard ABCUpload path interpretation algorithm.

Whether other files are automatically overwritten is determined by the Upload Overwrite property.


See Also

Path Interpretation discussion. SaveSFM method. Exists property. MacBinary property. Upload.Overwrite property.