Re: Slow FTP

2015-03-17 Thread ulsa
Yes, setting a bigger buffer definitely did the trick. Like 5 secs to download instead of 25 mins. The default buffer size must be very small. It wasn't obvious (to me) from the Camel FTP page that it's possible to set other config params on the ftpClient than the ones listed under URI Options.

Re: Slow FTP

2015-03-17 Thread ulsa
Thanks for pointing me to the client config. I'll try a bigger buffer and check out what other options I can tweak. -- View this message in context: http://camel.465427.n5.nabble.com/Slow-FTP-tp5764223p5764253.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Slow FTP

2015-03-17 Thread ulsa
Apache Camel 2.15.0 and Java 1.8.0_11. -- View this message in context: http://camel.465427.n5.nabble.com/Slow-FTP-tp5764223p5764254.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Slow FTP

2015-03-17 Thread ulsa
I was indeed looking at ftp.html, but the links on ftp2.html are identical, and I can't reach them: http://commons.apache.org/proper/commons-net/api-2.2/org/apache/commons/net/ftp/FTPClientConfig.html http://commons.apache.org/proper/commons-net/api-2.2/org/apache/commons/net/ftp/FTPClient.html

Re: Slow FTP

2015-03-17 Thread ulsa
Are you saying that the file bufferSize option is the same as ftpClient.bufferSize? -- View this message in context: http://camel.465427.n5.nabble.com/Slow-FTP-tp5764223p5764263.html Sent from the Camel - Users mailing list archive at Nabble.com.

Slow FTP

2015-03-16 Thread ulsa
One of the files on my FTP server is ~200MB. I'm using Camel FTP from an EC2 instance (Ubuntu 14), and I get a connection reset error on that file after 25 minutes. However, when using command line ftp on the same machine, the same file takes 38 seconds to download. I have set option