| TcpTextClientConnect Method (String, Int32, Boolean) |
Connects to server.
Namespace:
Limilabs.FTP.Client
Assembly:
Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax public void Connect(
string host,
int port,
bool useSSL
)
Public Sub Connect (
host As String,
port As Integer,
useSSL As Boolean
)
public:
void Connect(
String^ host,
int port,
bool useSSL
)
member Connect :
host : string *
port : int *
useSSL : bool -> unit
Parameters
- host
- Type: SystemString
Host name or IP address. - port
- Type: SystemInt32
Port number. - useSSL
- Type: SystemBoolean
if true creates SSL connection
Exceptions Exception | Condition |
---|
FtpException |
Error response, connection error.
|
See Also