Object: | SoftArtisans.FileUp | ||||||||||||
Syntax: | Save() | ||||||||||||
Description: |
This method saves an uploaded file to the Web server's hard disk using the user's original filename. If an upload contains more than one file, only the first one is saved. To save multiple files in a single upload, use the method Save method of the SAFile object, instead: File.Save(). To use the Save method, you must set the Path property. By default, an uploaded file will overwrite a file on the server with the same name. To prevent this, set OverwriteFilesto False. |
||||||||||||
Examples: | |||||||||||||
The following saves the upload on the Web server at C:\Uploads:
The following saves the upload to a network shared drive:
|