You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/11/07 15:26:00 UTC
[jira] [Updated] (NET-642) FTPSClient execPROT removes proxy settings
[ https://issues.apache.org/jira/browse/NET-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory updated NET-642:
--------------------------------
Summary: FTPSClient execPROT removes proxy settings (was: using execPROT on FTPSClients with Proxy Settings removes Proxy Settings)
> FTPSClient execPROT removes proxy settings
> ------------------------------------------
>
> Key: NET-642
> URL: https://issues.apache.org/jira/browse/NET-642
> Project: Commons Net
> Issue Type: Bug
> Components: FTP
> Affects Versions: 3.6
> Environment: Java 1.8.0_112
> Linux 64bit
> Reporter: Johannes Frank
> Priority: Critical
> Fix For: 3.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)