logo Delete delete a file on the remote computer

 

Return to Introduction     

delete [path]filename

 

Where:

 

path(optional) is the path from the current folder.

 

filenameis the file on the remote computer to be deleted. The filename and path must be enclosed in double quotes if either contains a space.  For example:

 

delete "\subfolder\read me.txt"

 

Examples:

 

delete test.txt

delete \folder\text.txt

delete "\subfolder\read me.txt"

 

Sample Script:

 

* Sample script using the "delete" command.

* Upload test.txt.

put test.txt

* Delete test.txt.

delete test.txt