Client connects to wrong SOCKS server

If the client connects to a wrong SOCKS server; to a SOCKS server when it should not, or ignores SOCKS configuration file some of the time, use the locstat subcommand to display the name of the SOCKS configuration file.
  • If the name displayed is not correct, correct the SOCKSCONFIGFILE statement in FTP.DATA.
  • If the SOCKS configuration file name displayed by LOCSTAT is correct, inspect the contents of the SOCKS configuration file.

    The client processes the statements in the order they are coded and applies the first statement that specifies the target FTP server. Check and arrange the statements as appropriate, or add a new statement specific to the FTP server at the beginning of the file.