Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
According to RFC 3659 section 7.2 the correct response for the MLST command must contain a leading space:
mlst-response = control-response / error-response mlsd-response = ( initial-response final-response ) / error-response control-response = "250-" [ response-message ] CRLF 1*( SP entry CRLF ) "250" [ SP response-message ] CRLF initial-response = "150" [ SP response-message ] CRLF final-response = "226" SP response-message CRLF
However, the response generated by the MLST command contains no such space - these are the lines received from the server:
"250-" "Size=235;Modify=20180205115758.043;Type=file; testAuthenticatedAccess.txt" "" "250 Requested file action okay, completed."
This is because the format for the response is:
250.MLST=\n{output.msg}\nRequested file action okay, completed.
When in effect it should be
250.MLST=\n {output.msg}\nRequested file action okay, completed.