1. Home
  2. Integrations
  3. t FTP and FTPS

t FTP and FTPS

Available triggers

The FTP component provides access to remote file systems via FTP and SFTP protocols.

NOTE

FTPS is a secure version of FTP that adds SSL/TLS support to encrypt the connection.

URI Syntax: ftp:host:port/directoryName

Main fields

Path parameters

Name
Description
Default
Type
host (common)(required) Hostname of the FTP server.—String
port (common)Port of the FTP server.—int
directoryName (common)Starting directory.—String

Query parameters

Name
Description
Default
Type
fileName (common)Used to dynamically set the file name as an expression. For consumers, it serves as a name filter; for producers, to evaluate the file name to write.—String
password (security)Password used for authentication on the FTP server.—String
username (security)Username used for authentication on the FTP server.—String
delay (scheduler)Time in milliseconds before the next check/poll to consume files.500long
passiveMode (common)Sets connections to passive mode.falseboolean
includeExt (filter)Used to include files matching the file extension name (case-insensitive). For example, to include .txt files, use includeExt=txt. Multiple extensions can be separated by commas; for example, to include .txt and .xml files, use includeExt=txt,xml.—String

Example

The flow connects to an FTP server and downloads text files.

The parameters indicate the credentials used for authentication (username and password) and that the text should filter and include only files with the .txt extension.

The flow includes a 10-second delay between download attempts and operates in passive mode.

IMPORTANT

Check whether the FTP server operates in Active Mode or Passive Mode. "Read timeout" errors or file reading failures may occur if the mode is not configured correctly. The passiveMode=true parameter should be included when the server works in passive mode. For more details about the differences between modes, see Active Vs. Passive FTP Simplified.

Then, it logs the content of these files.

NOTE

In this example, files are not removed after processing because the demo server used is read-only.

Result

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more