Skip to main content

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

FieldDescriptionType / Options
LabelCustom name for the actionString
Source directoryPath to the directory where the target file is locatedString
File nameName of the file to be deletedString
Select connectionChoose or create a secure SFTP connectionConnection

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