Help Centre › Building Processes
This article describes the RPA FTP functionality to download a file from a remote server.
For a full list of available functions, please read FTP functions.
Description
The Download file function downloads a single file from the remote server to a local path.
Setting it up
To use the Download file function, follow these instructions:
{{popups:rpas/add:action=ftp-download-file}}
Once on a process map:
- Navigate to the process where you would like to add the Download file 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 Download file 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 |
| Remote Path | Yes | Text | - | The path to the file on the remote server |
| Local Path | Yes | Text | - | The local path where the file should be saved |
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 remote file does not exist |
| Permission denied | Insufficient permissions to read the remote file |
Tips
- Ensure the local directory exists before downloading
- Use ftp-exists to verify the remote file exists before downloading