Difference between revisions of "TFtpClient.Port"

From Overbyte
Jump to navigation Jump to search
Line 2: Line 2:
== Definition ==
== Definition ==
  '''property''' Port: '''Boolean''';
  '''property''' Port: '''string''';
== Default Value ==
== Default Value ==

Latest revision as of 00:08, 11 September 2006

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


property Port: string;

Default Value



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.


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