TFtpClient.Port

From Overbyte
Revision as of 21:32, 10 September 2006 by Kbrad1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration
property Port : String;

Default Value
ftp

Description
IP port used to connect to the server. This can either be a number or a string of a known IP protocol such as 'ftp' or 'http'. The standard port for FTP is 21.

Example

   FtpClient1.HostName := 'ftp.borland.com';
   FtpClient1.Port := 'ftp';
   FtpClient1.UserName := 'anonymous';
   FtpClient1.Password := 'john.smith@mycomp.com';
   FtpClient1.OpenAsync;                            // Non-blocking open.