Skip to main content

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 needWhere to set it upWhy it matters
FTP server connectionConnectionsSave server details once, then reuse them for upload, download, list, rename, and delete actions.
Files to uploadFilesFiles can come from cloud storage or local storage and be reused in file transfer steps.
Folder paths or file name patternsGlobal VariablesKeep common paths consistent across workflows.

Actions

ActionDescription
ftp:uploadFileUpload a file to the FTP server
ftp:downloadFileDownload a file from the FTP server
ftp:deleteFileDelete a file on the FTP server
ftp:renameFileRename or move a file on the FTP server
ftp:listFilesList files in a directory on the FTP server

ftp:uploadFile

Uploads a file to the specified path on the remote server.

Parameters

ParameterTypeRequiredDescription
remotePathstringYesFull path on the remote server including file name
contentstringYesBase64-encoded file content
transferModestringNobinary or ascii. Defaults to binary
createDirectoriesbooleanNoCreate 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

ParameterTypeRequiredDescription
remotePathstringYesFull path to the file on the remote server
transferModestringNobinary or ascii. Defaults to binary

ftp:deleteFile

Deletes a file on the remote server.

Parameters

ParameterTypeRequiredDescription
remotePathstringYesFull path to the file to delete

ftp:renameFile

Renames or moves a file on the remote server.

Parameters

ParameterTypeRequiredDescription
fromPathstringYesCurrent file path
toPathstringYesNew file path

ftp:listFiles

Lists files and directories at a given path.

Parameters

ParameterTypeRequiredDescription
remotePathstringYesDirectory path to list
filePatternstringNoGlob pattern to filter files (e.g., *.csv)

Connection

Requires an FTP connection configured in the Global Configurator:

FieldDescription
hostFTP server hostname or IP
portFTP port. Defaults to 21
usernameFTP username
passwordFTP password
passiveModeUse passive mode. Defaults to true

Configure under Connections > FTP in the Global Configurator.

Output

uploadFile

downloadFile

listFiles