Skip to main content
Version: Current

Move Folder

Description​

Moves a folder and its contents to another location on the same remote server.

Prerequisites​

Create and test a SFTP connection with access to the remote paths used by the activity. Paths identify locations on that server, not on the workflow host.

Shared settings​

Select Connection Name. Use Process Data for dynamic path values. Configure execution control and On Error as required.

Inputs​

PropertyDescription
Source PathRequired source folder path.
Destination PathDestination parent or full path ending with the source folder name.
OverwriteAllow replacement of an existing destination folder. Default: False.
Create Missing DirectoriesCreate missing destination parents. Default: True.

Outputs​

Folder: reference to the moved folder.

Behavior​

When Overwrite is enabled and the destination exists, its folder tree is deleted before the source is moved. Contents are replaced rather than merged.

Example​

Moving /data/reports to /archive produces /archive/reports. Supplying /archive/reports uses that path directly. The source folder name is appended unless it is already the destination's last path segment.