Menu

#23 PWD response should have commentary

v1.0_(example)
closed
None
5
2014-05-14
2013-02-11
Barry Kelly
No

Apache's FTP client fails to parse MockFtpServer's response to PWD correctly
because it follows the spec closely. Per RFC959, response to PWD
should be like MKD:

257<space>"<directory-name>"<space><commentary>

Apache FTP client's failure mode is to return everything after "257 ",
resulting in redundant quotes in the returned directory.

ReplyText.properties#pwd should be updated to something like:
pwd="{0}" OK

Apache FTPClient looks for "\" " to find the end of the returned directory.

Discussion

  • Chris Mair

    Chris Mair - 2014-05-14

    This was fixed in MockFtpServer v2.5.

    I also changed MKD to return directory name in quotes (to follow RFC959).

    Thanks for the feedback. Sorry the fix took so long.

    Chris

     
  • Chris Mair

    Chris Mair - 2014-05-14
    • status: open --> closed
    • assigned_to: Chris Mair
    • Group: --> v1.0_(example)
     
MongoDB Logo MongoDB