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

FTPSClient execPROT removes proxy settings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.6
    • 3.9.0
    • FTP
    • None
    • Java 1.8.0_112
      Linux 64bit

    Description

      In Reference to https://issues.apache.org/jira/browse/NET-578
      I'm trying to establish an FTPS Connection via a HTTP Proxy. The Control Connection is properly established, however the Moment I do execPROT the Proxy settings are resetted by call to setSocketFactory(new FTPSSocketFactory(context)); in FTPSClient.java:534.
      This causes FTPSClients with a call to execPROT to actually ignore the proxy settings and attempt to contact the FTPS Server directly for data connections.
      Since we are required to use PROT P this is currently blocking our feature for FTPS Connections via HTTP proxy.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              DJGummikuh Johannes Frank
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m