Method FTPClient():new() Professional

Creates an instance of the FTPClient class.

Syntax
:new( <cFtpServer> , ;
      <cUsername>  , ;
      <cPassword>  , ;
      [<cProxyUrl>] , ;
      [<nPort>]]        ) --> oFTPClient
Parameters
<cFtpServer>
The parameter is a character string containing the DNS name or the IP address of the FTP server to communicate with. Additionally a port may be added seperated by a colon. For example:
ftp.alaska-software.com:21     DNS name 
199.288.377.466:21             IP address in dotted octet notation 
<cUsername>
A character string holding a user name known by the FTP server must be passed as second parameter. The string is case insensitive.
<cPassword>
The password of the user must be passed as character string. This string is case sensitive.
<cProxyUrl>
When the FTP server is only accesible via a proxy server, the name or IP address of the proxy server can be specified as a character string.
<nPort>
This parameter specifies the port to which the FTPClient tries to connect to. The parameter nPort is overwriting the port number passed with the parameter cFTPServer
Return

The method returns an instance of the FTPClient class.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.