The FTP component provides access to remote file systems through the FTP and SFTP protocols. Operation only in passive mode.
NOTEFTPS is a secure version of FTP, which adds support for SSL/TLS to encrypt the connection.
URI syntax: ftp:host:port/directoryName
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. | 500 | long |
passiveMode (common) | Sets passive mode connections. | false | boolean |
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:
/uploadhelloworld2.txttruedemo and password demo
As a result of the integration, the file helloworld2.txt is available:

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