Topic Path: Symbol Reference > Classes > TIdFTP Class > TIdFTP Properties > AutoLogin Property
TIdFTP.AutoLogin Property

Indicates the FTP client should automatically login when the FTP server connection is opened.

property AutoLogin: Boolean;

AutoLogin is a Boolean property that indicates if the FTP client should automatically perform a login sequence when the FTP session is established in the Connect method. 

Any property settings required to create the FTP session and to perform the login sequence must be set prior to calling Connect, and typically includes the following: 



The default value for AutoLogin is True, as assigned during initialization of the component. Change the value in AutoLogin to False to allow performing login actions for problematic or non-conformant FTP servers. 

Use the Login method to perform the login sequence using value in Username, Password, and ClientInfo when AutoLogin contains False.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.