SECOpen (Setting Data Security Protection)

FTP client subcommand

The SECOpen FTP client subcommand opens a secure control connection to an FTP server using the specified security option. The syntax of this subcommand is:

SECOpen systemname [portnumber] [security_option ]

Note: SOpen is a synonym for SECOPEN.
systemname
Enter the name or Internet address of the remote system.
portnumber
Enter the port number for this connection.
Notes:
  • If this parameter is omitted and (SSL is specified, the port number 21 will be used.
  • If this parameter is omitted and (IMPLICIT is specified, then port number 990 is used.
  • If both the port number and the security_option are omitted, then port number 21 and (SSL are assumed.

security_option

Specify the type of security to be used.

(SSL
Uses a secure SSL connection to the FTP server. The AUTH (Authorization) server subcommand is used when making the connection.
(IMPLICIT
Uses an "implicit" SSL or TLS secure connection to the FTP server. An "implicit" SSL connection is made without sending the AUTH, PBSZ, and PROT sever subcommands to the server. In this case, the server must be configured to expect an SSL/TLS connection negotiation to occur for the specified port number.

For the "implicit" SSL case, the server will act as if the client had sent these subcommands with the parameters shown below:

  • AUTH SSL
  • PBSZ 0
  • PROT P
Note: If the security_options parameter is not specified, then (SSL will be assumed. When the port number used is 990, then (IMPLICIT is assumed.
Related concepts
Secure the FTP client with Transport Layer Security or Secure Socket Layer
Related reference
LOCSITE (Specify Local Site Information)
File Transfer Protocol client syntax conventions