534: Command command not allowed for connection to secure port

Explanation

The FTP client sent a command to the z/OS® FTP server while the client was connected to the server's secure port, TLSPORT. The command is not allowed while you are logged in using the server's secure port.

In the reply text:
command
The command that the client sent to the server.

Example

Command:  ccc
>>>ccc
534 Command ccc not allowed for connection to secure port

System action

The command is ignored.

User response

Report the error to the system programmer.

System programmer response

If you need the command specified by the command value during a TLS-secured session, do not secure the session with the server's TLS-secured port. Instead, see the Customizing Transport Layer Security (TLS) and Kerberos security information in z/OS Communications Server: IP Configuration Guide for information about securing the FTP client and server for TLS security without resorting to the TLS-secured port. See the TLSPORT statement (FTP client and server) in z/OS Communications Server: IP Configuration Reference for more information about the secure port.

Problem determination

See the system programmer's response.

Source

z/OS Communications Server TCP/IP: FTP