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.