Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-177

FTPClient fails to parse valid PASV responses

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4, 1.5, 2.0
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      All, this is a source problem, not an environment problem

      Description

      The FTPClient.__parsePassiveModeReply function expects PASV mode parameters to be enclosed in parenthesis. While this is often the case, it is not a requirement and parsing fails with a StringIndexOutOfBoundsException when PASV mode parameters are not enclosed in parenthesis.

      Please refer to RFC 1123 section 4.1.2.6 for more information.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cseagle Chris Eagle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: