1.Create an IOHandler such as TIdIOHandlerStack or SSL IOHandler and assign the
TIdFTP.IOHandler property this.
2.Create a TIdSocksInfo object and assign it to the IOHandler's TransparentProxy property.
3.Set the TIdSocksInfo properties as required.
4.If there is another proxy that the SOCKS Proxy itself needs to use, you have to use, set the
Chained Proxy to a TIdCustomTransparentProxy such as TIdSocksInfo for another socks Proxy
or a TIdConnectThroughHttpProxy for a HTTP Tunneling proxy.
5.If you are not using another type of chained proxy, you may be able to use standard PORT
transfers if your SOCKS proxy supports the bind method described in SOCKS: A protocol for
TCP
proxy across firewalls (
http://archive.socks.permeo.com/prot...ocks4.protocol) and
RFC 1928
- SOCKS Protocol Version 5. If your SOCKS proxy does not support that capability, you have to
use PASV (Passive := True) transfers.