Difference between revisions of "TFtpClient.Port"

From Overbyte
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''Declaration'''<br>
+
[[Main_Page | Main page]] -> [[ICS_Components_Reference | ICS component reference]] -> [[TFtpClient]] -> [[TFtpClient.Port | Port]]
property Port : String;<br><br>
+
== Definition ==
  
'''Default Value'''<br>
+
'''property''' Port: '''string''';
ftp<br><br>
 
  
'''Description'''<br>
+
== 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.<br><br>
+
ftp
  
'''Example'''<br>
+
== 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.
  
    FtpClient1.HostName := 'ftp.borland.com';
+
== Example ==
    FtpClient1.Port := 'ftp';
+
FtpClient1.HostName := 'ftp.borland.com';
    FtpClient1.UserName := 'anonymous';
+
FtpClient1.Port := 'ftp';
    FtpClient1.Password := 'john.smith@mycomp.com';
+
FtpClient1.UserName := 'anonymous';
    FtpClient1.OpenAsync;                            // Non-blocking open.
+
FtpClient1.Password := 'john.smith@mycomp.com';
 +
FtpClient1.OpenAsync;                            // Non-blocking open.
 +
 
 +
== Best Practices ==
 +
 
 +
== How To ==

Latest revision as of 23:08, 10 September 2006

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

Definition

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.

Best Practices

How To