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

Wrong passivHost when using FTPHTTPClient with EPSV

    Details

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

      All Systems with ftp Access over http

      Description

      At the FTPHTTPClient Class in line 99 the Answer from the EPSV Command will parse to receive the Data port and the passiv Host.
      _parsePassiveModeReply(_replyLines.get(0))
      In this function the __passivHost is set to the remoteAddress, but this address is determine by "this._socket_.getInetAddress();" and the socket is the socket of the proxy Server and NOT of the ftp Server.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              triumvir Peter Naber
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: