Deletefile
SFTP Plugin – Delete File Action
Summary (SEO Meta Description):
The Delete File Action of the SFTP Plugin removes a specified file from an SFTP server.
It enables workflows to clean up obsolete or temporary files securely.
Overview
The Delete File Action allows your workflow to permanently delete a file from a remote SFTP server.
This is useful for maintaining storage hygiene, removing outdated data, or clearing temporary files after processing.
Typical Use Cases:
- Delete processed reports after successful ingestion
- Remove old log files to reduce storage usage
- Clean up temporary or intermediate files created by workflows
- Purge outdated documents for compliance
⚙️ Configuration
| Field | Description | Type / Options | 
|---|---|---|
| Label | Custom name for the action | String | 
| Source directory | Path to the directory where the target file is located | String | 
| File name | Name of the file to be deleted | String | 
| Select connection | Choose or create a secure SFTP connection | Connection | 
FAQ
Q: What happens if the file does not exist?
A: The action completes without error, but no file is deleted.
Q: Is the deletion permanent?
A: Yes. Once removed, the file cannot be recovered unless a backup exists.
Q: Is the operation encrypted?
A: Yes. All file operations, including deletion, are securely performed over SFTP.
Keywords: WeHub SFTP Plugin, Delete File Action, Secure File Transfer, Remove File, SFTP Automation