ComponentSpace FTP Class Library Reference

FtpClient.BeginConnect Method (String)

Initiates an asynchronous connect as an anonymous user.

[Visual Basic]
Overloads Public Function BeginConnect( _
   ByVal serverAddress As String _
) As IAsyncResult
[C#]
public IAsyncResult BeginConnect(
   string serverAddress
);

Parameters

serverAddress
The server address (eg. 207.46.133.140 or ftp.microsoft.com).

Return Value

The IAsyncResult that identifies the posted asynchronous request.

Remarks

In asynchronous processing, you use BeginConnect to raise the ConnectCompleted event when the connect has completed. You complete the operation by calling EndConnect.

See Also

FtpClient Class | ComponentSpace.Ftp Namespace | FtpClient.BeginConnect Overload List