-
-
Notifications
You must be signed in to change notification settings - Fork 9
component sftp
assimbly edited this page May 20, 2022
·
6 revisions
The SFTP component send messages to or receives messages from an SFTP Server.
The endpoint path can have several formats:
host/directoryName
or
host:port/directoryName
or
username@host/directoryName
server/order
For local testing you can install freeFTPd as a local FTP/SFTP server:
Installing and configuring freeFTPd
Example of most common options:
- username=johndoe (this option isn't needed when using the URI: username@server/directory)
- password=secret
- delete=true (Will delete file on FTP server after consuming)
For enabling scheduling you can use the following options:
scheduler=quartz2 scheduler.cron=0/2+++++?
This wil read a file every two seconds
For all options, see Camel documentation.