Re: Performance problem uploading to remote FTP using Stream

2013-03-15 Thread Claus Ibsen
Hi I added a debug logging that logs how long time it takes to upload the file in Camel 2.11. As well what input stream is being used as source. Though in the trace logging below there is no logs about using a charset, as you upload binary data. Though if you force use a special charset then Came

Re: Performance problem uploading to remote FTP using Stream

2013-03-13 Thread GarethHughes
The only options that I could see on the ftpClient http://commons.apache.org/proper/commons-net//apidocs/org/apache/commons/net/ftp/FTPClient.html to adjust the buffer size are 'setBufferSize' and

Re: Performance problem uploading to remote FTP using Stream

2013-03-13 Thread Claus Ibsen
Hi Not sure if setting a sentBufferSize on the client helps? ftpClient.sentBufferSize=8192 Its -1 by default. Check the API of Commons Net FTP to see if it has any impact. org.apache.commons.net.ftp.FTPClient And maybe there is other options you can set on the ftpClient to speedup upload. Al