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 early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
FTP ExampleAvailable as of Camel 2.11 This example is located in the AboutThis example demonstrates how Camel can upload and download files to/from an existing FTP server. PrerequisitesAn existing FTP server should be running. ImplementationThis 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 exampleYou 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 mvn compile exec:java -Pclient Or for the server mvn compile exec:java -Pserver 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 See Also |