FtpServer
  1. FtpServer
  2. FTPSERVER-345

Update the replies of MD5 and MMD5 commands to include the file path in double quotes when there are spaces in the path

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.0.4, 1.1.0
    • Component/s: Core
    • Labels:
      None

      Description

      Even though the RFC does not explicitly say this, the example replies showed in the RFC enclose all file paths in double quotes. I'm not sure if there are any FTP clients that look for double quotes presence. A smart FTP client could always grab the checksum from the last token in the reply, where each token is separated by one or more white spaces. In order to offer best compatibility, I would recommend enclosing the file paths in double quotes when they contain any spaces.

        Activity

        Sai Pullabhotla created issue -
        Sai Pullabhotla made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1.0 [ 12313458 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Sai Pullabhotla
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development