TFtpClient.HostDirName

From Overbyte
Revision as of 00:15, 11 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 -> HostDirName

Definition

property HostDirName: HostDirName;

Default Value

None

Description

This value passed to the server when calling functions Cwd and CwdAsync. The folder must exist on the server in order for the functions to succeed.

Required by Cwd and CwdAsync.

Example

FtpClient1.HostName := 'ftp.simtel.net';
FtpClient1.Port := 'ftp';
FtpClient1.UserName := 'anonymous';
FtpClient1.Password := 'john.smith@mycomp.com';
FtpClient1.HostDirName := '/pub/simtelnet';
FtpClient1.OpenAsync;                            // Non-blocking open.

Best Practices

How To