Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.8k views
in Java FTP by (1.3k points)
Configuring the client with proxy, is there any possibility to exclude some IP (range) from the proxy usage with the API?

5 Answers

0 votes
by (161k points)
Could you elaborate please? An example would be useful.
0 votes
by (1.3k points)
in the ProxySettings class, we can set the proxy type, username, password, host, etc for the proxy.
It will be great if we could have a method void addExceludeHost(final String host) in the same class, which avoid the proxy usage if the remote host can be found in the list.

Sometimes the machine inside the intranet (like ftp.host.intra) can not be reached by the proxy, which is sitting in the dmz. So the usage of the proxy will be omitted, when the ftp client is trying to connect to this host.
We could implement this by ourselves anyway, but I think it will just be great if this functionality will be supported natively.
0 votes
by (161k points)
So basically you'd like to be able to supply a list of hosts that don't need the proxy, but otherwise use the proxy?
0 votes
by (1.3k points)
exactly. Like that feature you also have in firefox if you set the proxy. You can enter a no-proxy list
0 votes
by (161k points)
ok, sounds like a useful feature. we'll add to our to do list. Should be in the next release.

Categories

...