TFtpClient.HostName

From Overbyte
Jump to navigation Jump to search

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

Definition

property HostName: string;

Default Value

None

Description

Sever name or IP address of the server to connect.

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