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,
add the following line that specifies the SOCKS configuration file to be used,
The example above specifies a SOCKS configuration that is usable in
the whole system. The SOCKS configuration can also be user-specific, for
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. PASSIVE mode can be activated by adding the following line to the FTP client configuration data set: