Syntax: rm <serverfile>

SFTP Command Index

The RMcommand 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.


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.


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