Object: | SoftArtisans.FileUp | ||||||||||||
Syntax: | Delete([in,optional] Filename As String) | ||||||||||||
Description: |
This method deletes a file from the web server's hard disk. If you specify a Filename, it must contain the entire valid path. If you do not specify a Filename, the current uploaded file is deleted. This allows you to effectively cancel an upload. If there is more than one file being uploaded in a single page, only the first one is deleted. To delete multiple files in a single upload, there is an equivalent method for each file object, i.e., fileUpload.Form("File1").Delete. Please see SAFile.Delete(). |
||||||||||||
Examples: | |||||||||||||
|