Just a tip for those experiencing performance problems using ftp download with the localWorkDirectory option.
We've got a camel route that downloads a file via ftp and upload this file to another ftp server. Since the files grew big, we added the localWorkDirectory option. The performance was extremely slow, order of bytes / kbytes per second. Camel-ftp uses the org.apache.commons.net.ftp.FTPClient for it's ftp communication, but the default buffersize seems to be 0 (!), causing -in our case- dramatic slow transfer speeds! We sped things up by creating our own ftpclient instance with a bigger buffersize And, in your route, add ftpClient option like this: and things were very fast again ;-) Regards Rino -- View this message in context: http://camel.465427.n5.nabble.com/Tip-speed-up-camel-ftp-download-upload-by-setting-bufferSize-on-the-FTPClient-tp5767800.html Sent from the Camel - Users mailing list archive at Nabble.com.
