edtFTPnet/Free - Open-source FTP component for .NET | Download
Constructs an FTPClient instance and connects to the FTP server.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
[ObsoleteAttribute("This constructor is obsolete; use the default constructor and properties instead")]
public FTPClient(
	IPAddress remoteAddr,
	int controlPort
)
Visual Basic
<ObsoleteAttribute("This constructor is obsolete; use the default constructor and properties instead")> _
Public Sub New ( _
	remoteAddr As IPAddress, _
	controlPort As Integer _
)
Visual C++
[ObsoleteAttribute(L"This constructor is obsolete; use the default constructor and properties instead")]
public:
FTPClient(
	IPAddress^ remoteAddr, 
	int controlPort
)

Parameters

remoteAddr
Type: System.Net..::..IPAddress
The address of the FTP server.
controlPort
Type: System..::..Int32
The port for control stream (-1 for default port).

See Also