mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FTPSERVER-484) Invalid MLST command response
Date Mon, 05 Feb 2018 12:30:00 GMT
Goldstein Lyor created FTPSERVER-484:

             Summary: Invalid MLST command response
                 Key: FTPSERVER-484
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-484
             Project: FtpServer
          Issue Type: Bug
          Components: Server
            Reporter: Goldstein Lyor

According to  [RFC 3659 section 7.2|https://tools.ietf.org/html/rfc3659#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 ) /

      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:
"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.

This message was sent by Atlassian JIRA

View raw message