Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.0.6
-
None
-
None
Description
From RFC 3659
control-response = "250-" [ response-message ] CRLF 1*( SP entry CRLF ) "250" [ SP response-message ] CRLF
Note that for MLST the fact set is preceded by a space. That is
provided to guarantee that the fact set cannot be accidentally
interpreted as the terminating line of the control response, but is
required even when that would not be possible. Exactly one space
exists between the set of facts and the pathname. Where no facts are
present, there will be exactly two leading spaces before the
pathname. No spaces are permitted in the facts, any other spaces in
the response are to be treated as being a part of the pathname.
The MLSTFileFormater invoked from the MLST command should include an initial SP.
This causes a problem with the NET FTPClient in that the size fact is lost.
The formatter should not include a space when invoked from the MLSD command.