Deletefolder
SFTP Plugin – Delete Folder Action
Summary (SEO Meta Description):
The Delete Folder Action of the SFTP Plugin removes a specified folder from an SFTP server.
It allows workflows to securely clean up directories that are no longer needed.
Overview
The Delete Folder Action enables your workflow to permanently delete a directory from a remote SFTP server.
This is helpful for removing obsolete directories, cleaning up temporary data, or enforcing data retention policies.
Typical Use Cases:
- Delete temporary processing folders after workflow completion
- Remove project-specific directories after migration or archiving
- Purge outdated directories to free up storage space
- Clean up test or staging folders
⚙️ Configuration
| Field | Description | Type / Options | 
|---|---|---|
| Label | Custom name for the action | String | 
| Source directory | Path to the directory (folder) to be deleted | String | 
| Select connection | Choose or create a secure SFTP connection | Connection | 
FAQ
Q: What happens if the folder is not empty?
A: The action will fail if the directory contains files or subfolders. Ensure the folder is empty before deletion.
Q: Is the deletion permanent?
A: Yes. Once deleted, the folder and its contents (if removed) cannot be recovered unless backups exist.
Q: Is the operation encrypted?
A: Yes. The delete action is performed over the SFTP protocol, ensuring secure and encrypted communication.
Keywords: WeHub SFTP Plugin, Delete Folder Action, Secure File Transfer, Remove Directory, SFTP Automation