Constructs an FTPClient instance and connects to the FTP server.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
| C# |
|---|
[ObsoleteAttribute("This constructor is obsolete; use the default constructor and properties instead")]
public FTPClient(
string remoteHost,
int controlPort
) |
| Visual Basic |
|---|
<ObsoleteAttribute("This constructor is obsolete; use the default constructor and properties instead")> _
Public Sub New ( _
remoteHost As String, _
controlPort As Integer _
) |
| Visual C++ |
|---|
[ObsoleteAttribute(L"This constructor is obsolete; use the default constructor and properties instead")]
public:
FTPClient(
String^ remoteHost,
int controlPort
) |
Parameters
- remoteHost
- Type: System..::..String
The domain-name or IP address of the FTP server.
- controlPort
- Type: System..::..Int32
The port for control stream (-1 for default port).
See Also