FTP client subcommand
To specify the protection
level to be used for the data connection when there is a secure control connection
already established with the remote system, use the SECData subcommand as
follows:
Note: SData is a synonym for this subcommand.
- C
- Data channel protection level is set to 'clear'. This connection is not secure.
This might be used for pre-encrypted data or non-sensitive data.
- P
- The data channel protection level is set to 'private'. This connection
is secure. A Transport Layer Security (TLS) negotiation between the client
and the server must take place before any data is transmitted over the connection.
- When no parameter is specified, SECData displays the present value used
for setting data security protection.
- The data protection level is initially set to the value specified by the
DTAPROT parameter of the STRTCPFTP CL command when a secure control connection
is established with an FTP server.
- A secure control connection is required to use the SECData subcommand.
- A PROT server subcommand is issued to the server each time the SECDATA
subcommand successfully sets the data protection level.
- The SECData subcommand sends a PBSZ and a PROT subcommand to the server
when setting the data protection level. Also, the SECData subcommand sets
a client variable for each successful PROT subcommand. This variable represents
the last data protection level (C or P) accepted by the server. This variable
is used to set the data protection level when the SECOpen subcommand opens
a secure control connection. This variable can be changed using the LOCSITE
DTAPROT option.
- The parameters 'C' and 'P' for the SECData subcommand are the same as
used by the PROT server subcommand.