Copy File (FTP)
The Copy File (FTP) node uploads one or more incoming files to a remote FTP or FTPS directory using a configured FTP service.
Overview
Use this node to deliver generated workflow files to an FTP server. The selected FTP service supplies the host, port, credentials, SSL setting, and root folder. The node appends the configured path to that service root folder.
Purpose
- Upload
NodeFileoutputs to FTP or FTPS. - Create missing remote subdirectories below the FTP service root folder.
- Return copied-file metadata for later workflow steps.
Configuration
| Field | Required | Description |
|---|---|---|
| FTP Service | Yes | Connection to the FTP server. The service stores host, port, SSL mode, credentials, and root folder. See FTP Service. |
| Path | Yes | Remote path below the service root folder. Maximum length is 256 characters. |
Inputs
| Input | Data Type | Input Type | Description |
|---|---|---|---|
| NodeFile | NodeFile | Multiple | One or more files to upload. |
Outputs
| Output | Data Type | Collection | Description |
|---|---|---|---|
| Output | DataObject | False | JSON metadata describing the upload. |
Properties
| Property | FlowDataType | Description |
|---|---|---|
| FTP_COPY_FILE_COPIED_FILES_INFO | JsonNode | The Copied files info |
Processing Logic
- Opens the selected FTP service and logs in to the remote server.
- Builds the remote destination as
service root folder + Path. - Creates missing path segments that look like directories.
- Uploads each input file using the file's computed name.
- Emits copied-file metadata after all uploads complete.
- Fails the node if login, directory creation, or upload fails.
Examples
Upload reports below the FTP service root:
/outbox/reports/
If the FTP service root folder is /data, the files are uploaded under /data/outbox/reports/.
Notes / Limitations
- The Path field is a plain input field in this node; it is passed to the FTP service without expression evaluation.
- Missing remote directories are created automatically when the FTP user has permission.
- Existing files with the same name may be replaced depending on FTP server behavior for
storeFile. - For encrypted SSH-based transfers, use Copy File (SFTP).