To make the FTP client use SOCKS, add or edit the FTP client configuration data set (or file). The FTP client configuration can be defined in several places (globally or per user) and the first configuration found is used. The search order for the configuration is listed in the IBM document z/OS Communication Server: IP Configuration Reference. Make sure that you define the configuration in a location that has the highest precedence on your system.
In the FTP client configuration data set (for example,
.FTP.DATA), add the following line that specifies the SOCKS configuration file to be used, for example:
The example above specifies a SOCKS configuration that is usable in the whole system. The SOCKS configuration can also be user-specific, for example
The SOCKS configuration can also be a data set, for example:
FTP clients must use PASSIVE or EXTENDED PASSIVE mode for file transfers. ACTIVE mode is not supported with transparent FTP tunneling. To activate PASSIVE mode, add the following line to the FTP client configuration data set:
The FTP client configuration setting