Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the asciidoc in the repository: https://github.com/apache/camel/blob/master/README.md https://github.com/apache/camel/blob/master/components/readme.adoc
Available as of Camel 2.11
This example is located in the
This example demonstrates how Camel can upload and download files to/from an existing FTP server.
An existing FTP server should be running.
This example is implemented in Java code, and there is a client and a server application.
The client is used for uploading files from the local file system (from target/upload) to the FTP server.
You can see the Java implementation by opening the
Running the example
You would need to configure the location and credential for the FTP server. This is done by editing the
Then you can either run the example as client or server by running from command line with Maven
Or for the server
Instructions is also printed to the console. And you can use ctrl + c to stop the Camel application.
If you encounter any problems you can enable verbose logging by following the instructions in the