For FTP or SFTP, you can only configure a generic proxy that uses the SOCKS protocol. If you configure a generic proxy for FTP and SFTP, you must also use the generic proxy for HTTP and HTTPS.
Procedure
- Consult the documentation for your proxy server to see if it supports the SOCKS protocol.
- If your proxy server supports the SOCKS protocol, configure the proxy server to use the SOCKS protocol.
- Configure the Java Virtual Machine startup parameters to include the proxy host and port by setting the following JVM parameters in the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Tridion\Content Delivery\Tridion Content Distributor Transport Service:
- Set the
jvmarg1 parameter to the value -DsocksProxyHost=my.proxy.hostname where my.proxy.hostname is the host name or IP address of the machine running the proxy server you want to use.
- Set the
jvmarg2 parameter to the value -DsocksProxyPort=1081 where 1081 is the port number of the proxy server. If you do not set this value, the port number defaults to 1080.
- You can also configure SOCKS user authentication by setting the following Java user preferences for the user running the Transport Service:
java.net.socks.username
java.net.socks.password
Refer to Java documentation for details on how to set these preferences.
- Stop and restart the Tridion Content Distributor Transport Service.