procedure Login; overload;
procedure Login(const AUsername, APassword, AAccountInfo: string); overload;
Description
Call the Login method to provide authentication for the FTP client connection to the remote FTP server.
AUsername is used as an argument when sending the FTP 'USER' command.
APassword is used as an argument when sending the FTP 'PASS' command.
AAccountInfo is used as an argument when sending the FTP 'ACCT' command.
When calling the method without parameters, the Username, Password, and AccountInfo properties are used.
If the TLSMode proeprty is equal to tmRequireExplicitTLS or tmAllowExplicitTLS values, the client first tries to explicitly establish a TLS connection using the 'AUTH' argument from the AuthCommand property for the command.
See Also