ComponentSpace FTP Class Library Reference

FailSafeTransfer.EndUpload Method 

Completes the specified asynchronous upload remote file operation.

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

Parameters

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

Remarks

When the UploadCompleted event is raised, EndUpload completes the operation that was initiated by the BeginUpload call.

Exceptions

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

See Also

FailSafeTransfer Class | ComponentSpace.Ftp Namespace