Skip to main content

Copyfile

SFTP Plugin – Copy File Action

Summary (SEO Meta Description):
The Copy File Action of the SFTP Plugin duplicates a file from a source directory to a destination directory on an SFTP server.
It enables workflows to create backups or duplicate files securely over SFTP.


Overview

The Copy File Action allows your workflow to copy a file from one directory to another on the same SFTP server.
This is ideal for creating backups, staging files for processing, or duplicating critical files without altering the original.

Typical Use Cases:

  • Copy daily reports to a backup directory
  • Duplicate configuration files for testing environments
  • Stage input files for downstream processing while keeping the original intact
  • Create redundant copies of sensitive data for auditing or compliance

⚙️ Configuration

FieldDescriptionType / Options
LabelCustom name for the actionString
Source directoryPath to the directory containing the source fileString
File nameName of the file to copyString
Destination directoryPath to the target directory where the file will be copiedString
Select connectionChoose or create a secure SFTP connectionConnection

FAQ

Q: Does the copy operation overwrite an existing file with the same name in the destination?
A: Yes. If a file with the same name already exists in the destination directory, it will be overwritten.

Q: Can I copy files across different SFTP servers?
A: No. This action copies files only within the same SFTP connection. For cross-server transfers, use Download + Upload actions.

Q: Is the copy operation encrypted?
A: Yes. All file transfers occur over the SFTP protocol, ensuring end-to-end encryption.


Keywords: WeHub SFTP Plugin, Copy File Action, Secure File Transfer, Duplicate File, SFTP Automation