1. Home
  2. ...
  3. File Storage and Transfer
  4. c FTP and FTPS

c FTP and FTPS

Available connectors

The FTP component provides access to remote file systems through the FTP and SFTP protocols. Operation only in passive mode.

NOTE

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

URI syntax: ftp:host:port/directoryName

Main fields

Path parameters

Name
Description
Default
Type
host (common)(required) FTP server hostname.—String
port (common)FTP server port.—int
directoryName (common)Initial directory.—String

Query parameters

Name
Description
Default
Type
fileName (common)Used to dynamically set the file name as an expression. In the consumer, serves as a name filter; in the producer, 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 passive mode connections.falseboolean

Example

The flow is triggered by a Quartz trigger with cron expression 0**?** (runs every minute at the start of the minute).

The message body is set to Hello World! using the constant expression.

The file is sent via FTP to the server demo.wftpserver.com:

  • Directory: /upload
  • File name: helloworld2.txt
  • Passive mode: true
  • Authentication: user demo and password demo

Result

As a result of the integration, the file helloworld2.txt is available:

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