ComponentSpace FTP Class Library Reference

FtpClient.EndSendSiteCommand Method 

Completes the specified asynchronous site command operation.

[Visual Basic]
Public Function EndSendSiteCommand( _
   ByVal asyncResult As IAsyncResult _
) As String
[C#]
public string EndSendSiteCommand(
   IAsyncResult asyncResult
);

Parameters

asyncResult
The IAsyncResult that identifies the asynchronous site to finish, and from which to retrieve an end result.

Return Value

The site command reply.

Remarks

When the SiteCommandCompleted event is raised, EndSendSiteCommand completes the operation that was initiated by the BeginSendSiteCommand call.

Exceptions

Exception Type Condition
FtpException Thrown when the site fails.

See Also

FtpClient Class | ComponentSpace.Ftp Namespace