Syntax: mdel <server filespec>
The MDEL command deletes one or more files matching the given filespec on the FTP server.
MDEL differs from DELETE in that MDEL supports 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.
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.