TFtpClient.UserName

From Overbyte
Revision as of 23:24, 10 September 2006 by Kbrad1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Best Practices

How To