ComponentSpace FTP Class Library Reference

FailSafeTransfer.BeginDownload Method (String, String)

Initiates an asynchronous download remote file.

[Visual Basic]
Overloads Public Function BeginDownload( _
   ByVal sourcePathName As String, _
   ByVal destinationPathName As String _
) As IAsyncResult
[C#]
public IAsyncResult BeginDownload(
   string sourcePathName,
   string destinationPathName
);

Parameters

sourcePathName
The remote file path name.
destinationPathName
The local file path name.

Return Value

The IAsyncResult that identifies the posted asynchronous request.

Remarks

In asynchronous processing, you use BeginDownload to raise the DownloadCompleted event when the download has completed. You complete the operation by calling EndDownload.

See Also

FailSafeTransfer Class | ComponentSpace.Ftp Namespace | FailSafeTransfer.BeginDownload Overload List