Help Centre › Building Processes
This article describes the RPA FTP functionality to delete a file on a remote server.
For a full list of available functions, please read FTP functions.
Description
The Delete file function deletes a single file on the remote server.
Setting it up
To use the Delete file function, follow these instructions:
{{popups:rpas/add:action=ftp-delete}}
Once on a process map:
- Navigate to the process where you would like to add the Delete 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 Delete 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 |
| Path | Yes | Text | - | The path to the file to delete on the remote server |
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 |
Tips
- Use ftp-exists to check if the file exists before deleting
- This only deletes files, not directories – use ftp-rmdir for directories