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

FTP using HTTP proxy not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.1
    • FTP
    • None

    Description

      I know that FTPHTTPClient is experimental, but - I have discovered 2 bugs in it:

      • response from proxy is taken only if username and password are set
      • username and response are not correctly provided to Base64.encode() method

      I will attach a patch with proposed fix, feel free to apply it if you think it's correct.

      One more note: I'm not expert in this area so sorry if this question is nonsense but - shouldn't it be possible to connect to the encrypted FTP over HTTP proxy as well? Or am I completely wrong and this can't be ever possible.

      Thanks.

      Attachments

        1. FtpHttpClient.patch
          1 kB
          Tomas Mysik
        2. http_proxy_magnus.patch
          11 kB
          Magnus Johansson

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tmysik Tomas Mysik
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: