MDEL

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.

<server filespec>

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.

Examples

This command deletes all files from the current server directory:

MDEL *

This command deletes all files ending with ".htm" from the current server directory:

MDEL *.htm

See ABORT-ON-ERROR Script Sample for an example.