TFtpClient.HostName

From Overbyte
Revision as of 01:05, 11 September 2006 by Kbrad1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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