Hi Claus,

after checking again I found this definitely relates to CAMEL-6219.

As of now, we only got a simple FTP route where commons-net-3.3 works fine. 
I can offer running the Camel tests with 3.3 and adding a test case for the 
specific issue, however this will not be before the end of next week.



Am 19.06.2013 um 09:13 schrieb Claus Ibsen:

> Hi
> 
> Ah thanks. We downgraded to 3.1 as that was working well.
> Are you sure 3.3 works fine?
> 
> On Tue, Jun 18, 2013 at 6:23 PM, Erker, Carsten
> <[email protected]> wrote:
>> Hi,
>> 
>> I just stumbled upon a bug in Apache Commons Net 3.2 / FTPClient. The bug is 
>> known and fixed in Commons Net 3.3: 
>> https://issues.apache.org/jira/browse/NET-502
>> 
>> The problem was with the FTP producer, when after putting a file to the 
>> server, I got a 5xx error as Camel tries to change back to the current 
>> working dir (see FtpOperations.storeFile()).
>> This happened due to incorrect parsing of the reply from a PWD in 
>> FTPClient.__parsePathname() when getting the current working dir.
>> 
>> For a first work-around I excluded the commons-net:3.2 dependency of 
>> camel-ftp in my Maven setup and added a dependency to commons-net:3.3.
>> 
>> Since this is quite a fundamental bug, it would be great if Camel-FTP would 
>> be upgraded to use the current version of commons-net with the next Camel 
>> release.
>> 
>> Regards
>> Carsten
> 
> 
> 
> -- 
> Claus Ibsen
> -----------------
> www.camelone.org: The open source integration conference.
> 
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: [email protected]
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to