commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Commented] (NET-502) Apache FTPClient doesn't handle common responses to PWD
Date Mon, 11 Feb 2013 18:07:12 GMT


Sebb commented on NET-502:

As far as I can tell, this was fixed as part of NET-442, which is included in NET 3.2.

There does not seem to be a problem with the current code, see:

Add test for NET-502


Please provide a test case that shows the problem.
For example, as a patch for
> Apache FTPClient doesn't handle common responses to PWD
> -------------------------------------------------------
>                 Key: NET-502
>                 URL:
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.2
>            Reporter: Barry Kelly
>            Priority: Minor
> Common FTP servers (like vsftpd) responses' to PWD don't have a commentary as per RFC959.
> vsftpd, MockFtpServer and others respond thusly:
> > 257 "/"
> The current handling in FTPClient.__parsePathname simply returns everything after "257
". This breaks other code that relies on Apache FTPClient, like the Camel FTP2 component.
> I suggest that, for increased resilience, this brief response be special-cased.
> vsftpd maintainer has been notified too, but it's just an email address.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message