Syntax: mdel <server filespec>
The MDELcommand deletes one or more files matching the given filespec on the FTP server.
MDELdiffers from DELETE in that MDELsupports multiple file deletions from the server using server wildcard characters. Your FTP server must support wildcards for multiple file deletions.
NOTE:If the SET parameter CONFIRM-DELETE is set to YES, the user is prompted for confirmation before deleting.
Specifies one server file or (using server wildcards) multiple server files. This can include a full directory path to the file. On some systems such as UNIX FTP servers, case is important when specifying directories and file names.
This command deletes all files from the current server directory:
This command deletes all files ending with ".htm" from the current server directory:
See ABORT-ON-ERROR Script Sample for an example.