ComponentSpace FTP Class Library Reference

FtpClient.EndSendQuoteCommand Method 

Completes the specified asynchronous quote command operation.

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

Parameters

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

Return Value

The command reply text.

Remarks

When the QuoteCommandCompleted event is raised, EndSendQuoteCommand completes the operation that was initiated by the BeginSendQuoteCommand call.

Exceptions

Exception Type Condition
FtpException Thrown when the quote fails.

See Also

FtpClient Class | ComponentSpace.Ftp Namespace