'Declaration Public Overloads Function BeginGetDownloadStream( _ ByVal remoteFilename As String, _ ByVal offset As Long, _ ByVal callback As AsyncCallback, _ ByVal state As Object _ ) As IAsyncResult
'Usage Dim instance As AsyncFtpClient Dim remoteFilename As String Dim offset As Long Dim callback As AsyncCallback Dim state As Object Dim value As IAsyncResult value = instance.BeginGetDownloadStream(remoteFilename, offset, callback, state)
public IAsyncResult BeginGetDownloadStream( string remoteFilename, long offset, AsyncCallback callback, object state )
Parameters
- remoteFilename
- The filename of the file to retrieve. Some FTP servers may be case-sensitive!
- offset
- The byte offset (of the remote file) at which to start receiving data from the remote file.
- callback
- Callback method to be called when the asynchronous operation is completed.
- state
- An object containing state information for this operation.
Return Value
An System.IAsyncResult representing the status of the asynchronous operation.