Skip to main content

Movefile

SFTP Plugin – Move File Action

Summary (SEO Meta Description):
The Move File Action of the SFTP Plugin relocates a file from one directory to another on an SFTP server.
It enables workflows to reorganize or archive files securely.


Overview

The Move File Action allows your workflow to move a file from a source directory to a destination directory on an SFTP server.
This is useful for archiving processed files, reorganizing directory structures, or managing data lifecycle tasks.

Typical Use Cases:

  • Move processed reports from an “incoming” folder to an “archive” folder
  • Relocate logs to a monthly archive directory
  • Organize user uploads into project-specific folders
  • Implement folder-based lifecycle management for long-term storage

⚙️ Configuration

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

FAQ

Q: What happens if a file with the same name already exists in the destination?
A: The existing file will be overwritten.

Q: Is the move operation atomic?
A: Yes. The action performs a secure file rename operation over SFTP.

Q: Can I move files across different SFTP servers?
A: No. The move action works within the same SFTP connection. For cross-server moves, use Download + Upload actions.


Keywords: WeHub SFTP Plugin, Move File Action, Secure File Transfer, Relocate File, SFTP Automation