TFtpClient.PassWord

From Overbyte
Jump to navigation Jump to search

Main page -> ICS component reference -> TFtpClient -> PassWord

Definition

property PassWord: string;

Default Value

None

Description

Password supplied to the FTP server for login. Use an email address for an anonymous login.

Required by Pass and PassAsync.

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