Open topic with navigation
The CPSV command is used during secure FXP (site-to-site/server-to-server file transfers). The role of the CPSV command is to allow the client to instruct either the source or destination server to initiate the handshaking for a secure transfer. During a SSL/TLS negotiation, one of the two entities initiates the secure handshake needed to establish the secure connection. Since an FXP occurs between two servers instead of a client and server, one of the two servers needs to assume the role of client in the handshaking process.
Issuing the CPSV command with no arguments will instruct the server to assume PASV mode for the data connection and also initiate the SSL/TLS handshake.
227 - Entering Passive Mode (x,x,x,x,x,x).
421 - The server is offline or is going offline.
502 - Command not implemented. This response will be sent if the server is configured with PASV mode disabled, or if SSL/TLS not enabled on this server.
530 - Access denied. This can happen as a result of many things: the username or password was invalid, the user account is disabled, or the user is being denied access for another reason, which could include IP address restrictions at the server level, user account expiration, or too many concurrent logons. Alternatively, this could indicate no user is currently authenticated on the command channel. A client must be authenticated prior to executing this command.
Copyright © 2016 South River Technologies. All rights reserved.