Skip to main content
Roberty Studio
RPASFTP

SFTP - Delete directory

SFTP - Delete directory

Removes a folder from the SFTP server at the given path. It can remove the whole hierarchy of subdirectories and files at once when the recursive option is enabled.


Options​

Connection​

Select the SFTP: Connect action that will be used to reach the server.

Path​

Enter the full path of the directory to remove on the SFTP server.

Recursive​

Defines whether the directory's content (subfolders and files) is removed automatically. Select Yes for recursive removal or No to remove only empty directories.

Returns​

This action has no returns.

Rules and Conditions​

  • The Connection and Path fields are required.
  • Without Recursive, the removal fails when the directory is not empty.
  • With Recursive, the directory's whole content is permanently removed. This operation cannot be undone.