DELETE        Delete local file(s)

Top  Previous  Next

Syntax:

DELETE

[ file name ]

Arguments:

[ file name ]

Variable or string defining a file or path name; if no path is defined, Robo-FTPs working folder is used.

Options:

None

 

 

 

This script command deletes the specified local file or files. This is an example of the DELETE command:

 

DELETE "file name"

 

Wildcard file names are allowed with the DELETE command. For example, the following command deletes all files with an extension of .html from a local folder named c:\mysite.

 

DELETE "c:\mysite\*.html"

 

To delete file(s) on the FTP site, use the FTPDELETE script command.  Use the DELDIR command to delete an empty local directory.

 

 

Related command(s): COPY, APPEND, RENAME, WORKINGDIR