camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Slow FTP
Date Tue, 17 Mar 2015 01:36:11 GMT
Can you try to setup the FtpClient with a big buffer just like this ?

from("ftp://foo@myserver?password=secret&ftpClient.bufferSize=10000000").to("bean:foo");

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On March 16, 2015 at 9:08:44 PM, ulsa (ulrik.sandberg@jayway.com) wrote:
> 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
> localWorkDirectory=/var/tmp/camel. Is there any other configuration trick
> that I have missed?
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/Slow-FTP-tp5764223.html
 
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  


Mime
View raw message