action.skip

RM

Syntax: rm <serverfile>

SFTP Command Index

The RM command deletes a file matching the given filespec on the SFTP server.

This command is available for SFTP connections only. The FTP equivalent is DELETE.

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 case is important when specifying directories and file names.

Example

This command deletes MEMO.DOC from the current server directory:

RM MEMO.DOC