FTP Upload

The FTP Upload action allows you to upload an FTP file to a remote FTP server through iWorkflow actions. The contents of the file should be passed in as a pipeline variable and in a string-like format.

InputOutput
Any (string)Any (JSON) (Passthrough)

Properties

These properties control the behavior and structure of the FTP Upload action:

NameTypeTemplatable?Notes
Upload DataTextYesThe contents of the file to write.. Note: It is recommended to enter a template expression that evaluates to a string (such as the output from the Convert to CSV action). If an object (such as an array or JSON object) is passed in, it will be converted to a string first.
Server Name/IPTextNoThe hostname or IP address of the server to connect to. If a hostname is used, the hostname must be resolvable through public DNS.
PortNumberNoThe port number. The default FTP port is 21.
UsernameTextNoThe username to authenticate with.
PasswordTextNoThe password to authenticate with.
File PathTextYesThe path of the file to write. Depends on server requirements. Some servers require an absolute path that starts with "/", others accept relative paths or just filenames. Tip: Use a template expression to create a date-based or unique filename.
Enable FTPSCheckboxNoWhether or not to connect through FTPS.. Note: This value is different from SFTP.
Use Passive ModeCheckboxNoWhether or not to transfer the data using FTP Passive Mode. Note: Check with the server host to see if this is required by the server.
Overwrite Existing FilesCheckboxNoWhether or not to overwrite a file if one by the same name already exists. May fail depending on the permissions set up on the FTP server.

Did this page help you?