RMDIR

Syntax: rmdir <server folder>

SFTP Command Index

The RMDIRcommand deletes an empty folder on the server.

This command is available for SFTP connections only.

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

<server folder>

Specifies the location and name of the folder you want to delete. The <server folder> specification must follow the conventions of the server operating system. Before you can delete a folder, you must delete the files and folders within it.

Example

This command deletes the folder Articles from the current server folder:

RMDIR Articles