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

Wrong passivHost when using FTPHTTPClient with EPSV

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1, 3.2
    • 3.3
    • FTP
    • None
    • 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

        1. FTPSquidProxyClient.java
          7 kB
          Peter Naber

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: