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.
|Status||Open [ 1 ]||Closed [ 6 ]|
|Fix Version/s||3.3 [ 12323751 ]|
|Resolution||Duplicate [ 3 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|1h 22m||1||Barry Kelly||11/Feb/13 19:02|