Rebex FTP/SSL for .NET

Ftp.BeginConnect Method (String, Int32, TlsParameters, FtpSecurity, AsyncCallback, Object)

Connects to the TLS/SSL FTP server.

public IAsyncResult BeginConnect(
   string serverName,
   int serverPort,
   TlsParameters parameters,
   FtpSecurity security,
   AsyncCallback callback,
   object state
);

Parameters

serverName
The server address - either a hostname or a dotted string address.
serverPort
The server port (eg. 990).
parameters
Security parameters
security
FTP security type.
callback
An optional asynchronous callback to be called when the operation is complete.
state
A user-provided object that identifies this particular asynchronous operation.

Return Value

An IAsyncResult that references the asynchronous operation.

See Also

Ftp Class | Rebex.Net Namespace | Ftp.BeginConnect Overload List