Help Centre › Building Processes
This article describes the RPA FTP functionality to rename or move a file on a remote server.
For a full list of available functions, please read FTP functions.
Description
The Rename function renames a file or directory on the remote server. It can also be used to move files by specifying a different directory in the new path.
Setting it up
To use the Rename function, follow these instructions:
{{popups:rpas/add:action=ftp-rename}}
Once on a process map:
- Navigate to the process where you would like to add the Rename function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the FTP Rename option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Name | Yes | Text | - | The name of the FTP connection to use |
| Old Path | Yes | Text | - | The current path of the file or directory |
| New Path | Yes | Text | - | The new path for the file or directory |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| Connection not found | No connection exists with the specified name |
| File not found | The file or directory at the old path does not exist |
Tips
- This function can also be used to move files by specifying a different directory in the new path
- The destination directory must exist