Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-464

Incorrect Format For MLST Response

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.6
    • None
    • Core
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            grussell Gary Russell

            Dates

              Created:
              Updated:

              Slack

                Issue deployment