Object: | SoftArtisans.SAFile | ||||||||||||
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 effectively allows you to cancel an upload. See also the Delete method for the SAFileUp object. |
||||||||||||
Examples: | |||||||||||||
Delete an uploaded file that was saved to disk:
Delete uploads that are not gifs or jpegs:
|