Skip to content

component ftps

assimbly edited this page May 20, 2022 · 9 revisions

The FTPS component send messages to or receives messages from an FTPS Server.

Path

The endpoint path can have several formats:

host/directoryName

or

host:port/directoryName

or

username@host/directoryName

Path Examples

server/order

Testing

For local testing you can install freeFTPd as a local FTP/SFTP server:

freeFTPd Download Installing and configuring freeFTPd

Alternatively has FileZilla Server also support for FTPS.

Common options

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 FTPS server after consuming)

Using a certificate?

Nowadays mostly (explicit)TLS is used. Assimbly has TLS support build-in.

How to work with TLS Certificates?

Scheduling

For enabling scheduling you can use the following options:

scheduler=quartz2 scheduler.cron=0/2+++++?

This wil read a file every two seconds. For more on cron expression, see https://www.freeformatter.com/cron-expression-generator-quartz.html

References

Check Filezilla for a FTP server with FTPS support.

For all options: Camel documentation.

Clone this wiki locally