DELETE

Syntax: delete <serverfile>

FTP Command Index

The DELETE command deletes a file matching the given filespec on the FTP server.

Note: If the SET parameter CONFIRM-DELETE is set to YES, the user is prompted for confirmation before deleting.

<serverfile>

Specifies the name of a server file to delete. 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 MEMO.DOC from the current server directory:

DELETE MEMO.DOC

The next command deletes the budget.new file from the /users/jill jones directory on a UNIX FTP server:

DELETE /users/jill jones/budget.new