Delete Method

 Object: SoftArtisans.SAFile
 Syntax: Delete ([in,optional] Filename)
 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.

Example:

	<% 
	Set objFile = Server.CreateObject("SoftArtisans.SAFile")
	objFile.Delete Request.FormEx("FILE1")
	 %>

 

Previous Page Next Page