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

FTPClient#initFeatureMap should not initialize empty map if reply code is 530

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4
    • Component/s: FTP
    • Labels:
      None

      Description

      Some servers reply with 530 when requesting features before being logged in. However sending FEAT is used to determine if the server supports secured connection before attempting to login using an unsecured connection.

      Due to the caching of the empty map subsequent feature detection fails.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dkocher@sudo.ch David Kocher
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: