SFTP - Rename/move file action

This action renames a file or moves it to a new destination on the SFTP server. If the file path provided is invalid, the job will fail.

Rename/move file actionRename/move file action

Input

Input fieldDescription
Source pathProvide the current full path of the file, including the file name and extension. Example: /folder1/folder2/filename.csv
Destination pathProvide the new full path of the file, including the file name and extension.

  • To rename a file: Provide the same source path with a new file name.
    Example: /folder1/folder2/new_filename.csv
  • To move a file: Make sure the folders in the new path exist.
    Example: /folder1/new_folder/filename.csv

Output

Output fieldDescription
Source pathThe old full path of the file.
Destination pathThe new full path of the file.

To retrieve more details about the file you've just renamed or moved, use the Get file information action.

Last updated: