522: Network protocol not supported. Use (supported_protocols)

Explanation

The FTP client sent a command to the FTP server to establish a data connection. The FTP server does not support the network protocol that the FTP client specified.

If you specify a network protocol on the EPSV command, that network protocol must match the protocol used for the control connection.

supported_protocols is an address family number, or a list of address family numbers, corresponding to protocols supported by the FTP server. The address family numbers are defined in RFC 1700. See Related protocol specifications for information about accessing RFCs. The FTP server might return one or both of the following values:
Address family number
Protocol
1
Internet Protocol Version 4
2
Internet Protocol Version 6

The FTP server supports connections over both IPv6 and IPv4 connections at once, but the z/OS® system configuration might limit its support to only one of them.

System action

The current command is rejected by the FTP server. FTP processing continues.

User response

Issue the commands again, using one of the protocols specified in supported_protocols.

System programmer response

None.