An NDoc Documented Class Library

FTPClient Constructor (String, Int32, Int32)

NOTE: This constructor is now obsolete.

This constructor is obsolete; use the default constructor and properties instead


Constructs an FTPClient instance and connects to the FTP server.

public FTPClient(
   string remoteHost,
   int controlPort,
   int timeout
);

Parameters

remoteHost
The domain-name or IP address of the FTP server.
controlPort
The port for control stream (-1 for default port).
timeout
The length of the timeout in milliseconds (pass in 0 for no timeout)

See Also

FTPClient Class | EnterpriseDT.Net.Ftp Namespace | FTPClient Constructor Overload List