Internet Direct (Indy)
Home
PreviousUpNext
TIdFTP.AUTHCmd Property

Indicates the mechanism to use when performing authentication when logging into the FTPO server.

Pascal
property AUTHCmd: TAuthCmd;

AUTHCmd is a TAuthCmd property that indicates the mechanism to use when performing authentication in the Login method. The value in AUTHCmd determines the argument used with the FTP AUTH command in the TLS handshake protocol exchange. 

The default value for AUTHCmd is DEF_Id_FTP_AUTH_CMD, as assigned during initialization of the component. 

 

Value 
Meaning 
tAuto 
TLS support is determined by trying each of the valid AUTHCmd values. 
tAuthTLS 
Implies TLS using a clear data port. 
tAuthSSL 
Implies TLS using a private data port. 
tAuthTLSC 
Implies TLS using a clear data port. 
tAuthTLSP 
Implies TLS using a private data port. 

 

The value tAuto can be used when connecting to a server that does not allow the FTP FEAT command required for negotiated TLS support until completion of the Login protocol exchange. In addition, some servers use AUTH TLS while others use AUTH SSL. So multiple AUTH commands may be tries to determine the servers level of support. 

When a value other than tAuto is found in AUTHCmd, only the specified Authentication method will be tried.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.