TFtpClient.UserName
Jump to navigation
Jump to search
Main page -> ICS component reference -> TFtpClient -> UserName
Definition
property UserName: string;
Default Value
None
Description
User's login name. Use 'anonymous' for an anonymous login.
Required by User and UserAsync.
Example
FtpClient1.HostName := 'ftp.borland.com'; FtpClient1.Port := 'ftp'; FtpClient1.UserName := 'anonymous'; FtpClient1.Password := 'john.smith@mycomp.com'; FtpClient1.OpenAsync; // Non-blocking open.