ComponentSpace FTP Class Library Reference

FailSafeTransfer.EndDownload Method 

Completes the specified asynchronous download remote file operation.

[Visual Basic]
Public Sub EndDownload( _
   ByVal asyncResult As IAsyncResult _
)
[C#]
public void EndDownload(
   IAsyncResult asyncResult
);

Parameters

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

Remarks

When the DownloadCompleted event is raised, EndDownload completes the operation that was initiated by the BeginDownload call.

Exceptions

Exception Type Condition
FtpException Thrown when either the download is aborted or the retry limit has been reached.

See Also

FailSafeTransfer Class | ComponentSpace.Ftp Namespace