FTP
The FTP node transfers files to and from remote servers using the File Transfer Protocol (FTP). It supports uploading, downloading, deleting, renaming, and listing files on FTP servers. For encrypted file transfer, see the FTPS and SFTP nodes.
Before You Use This Node
| What you may need | Where to set it up | Why it matters |
|---|---|---|
| FTP server connection | Connections | Save server details once, then reuse them for upload, download, list, rename, and delete actions. |
| Files to upload | Files | Files can come from cloud storage or local storage and be reused in file transfer steps. |
| Folder paths or file name patterns | Global Variables | Keep common paths consistent across workflows. |
Actions
| Action | Description |
|---|---|
ftp:uploadFile | Upload a file to the FTP server |
ftp:downloadFile | Download a file from the FTP server |
ftp:deleteFile | Delete a file on the FTP server |
ftp:renameFile | Rename or move a file on the FTP server |
ftp:listFiles | List files in a directory on the FTP server |
ftp:uploadFile
Uploads a file to the specified path on the remote server.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
remotePath | string | Yes | Full path on the remote server including file name |
content | string | Yes | Base64-encoded file content |
transferMode | string | No | binary or ascii. Defaults to binary |
createDirectories | boolean | No | Create parent directories if they don't exist. Defaults to false |
ftp:downloadFile
Downloads a file from the remote server. Returns the content as base64.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
remotePath | string | Yes | Full path to the file on the remote server |
transferMode | string | No | binary or ascii. Defaults to binary |
ftp:deleteFile
Deletes a file on the remote server.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
remotePath | string | Yes | Full path to the file to delete |
ftp:renameFile
Renames or moves a file on the remote server.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fromPath | string | Yes | Current file path |
toPath | string | Yes | New file path |
ftp:listFiles
Lists files and directories at a given path.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
remotePath | string | Yes | Directory path to list |
filePattern | string | No | Glob pattern to filter files (e.g., *.csv) |
Connection
Requires an FTP connection configured in the Global Configurator:
| Field | Description |
|---|---|
host | FTP server hostname or IP |
port | FTP port. Defaults to 21 |
username | FTP username |
password | FTP password |
passiveMode | Use passive mode. Defaults to true |
Configure under Connections > FTP in the Global Configurator.