SSLMode Parameter (Connect-FTP Cmdlet)
Specifies the SSL/TLS negotiation mode used when connecting to the FTP server.
Syntax
Connect-FTP -SSLMode string
Possible Values
AUTOMATIC, NONE, IMPLICIT, EXPLICITData Type
cstr
Default Value
"AUTOMATIC"
Remarks
This property determines how the cmdlet negotiates SSL/TLS encryption with the FTP server.
The following modes are supported:
- AUTOMATIC: The cmdlet selects the most secure mode supported by the server.
- NONE: No encryption is used; the connection and authentication occur in plaintext.
- IMPLICIT: SSL/TLS negotiation starts immediately after the TCP connection is established.
- EXPLICIT: The cmdlet first connects in plaintext, then initiates SSL/TLS negotiation using a protocol command such as STARTTLS.
Use IMPLICIT or EXPLICIT to encrypt credentials and data in transit. Select NONE only when connecting to trusted networks or when the server does not support SSL/TLS.
This is a required parameter.