From Overbyte
Revision as of 19:21, 12 September 2006 by Markus.humm (talk | contribs) (silight grammar improvement and expanded this good start of article!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


property HostDirName: HostDirName;

Default Value



This is value passed to the server when calling the functions Cwd and CwdAsync. The folder must exist on the server in order for the functions to succeed. With this you can change your current directory on the server.

Required by Cwd and CwdAsync.


FtpClient1.HostName := '';
FtpClient1.Port := 'ftp';
FtpClient1.UserName := 'anonymous';
FtpClient1.Password := '';
FtpClient1.HostDirName := '/pub/simtelnet';
FtpClient1.OpenAsync;                            // Non-blocking open.

Best Practices

How To