Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Sftp.IFtp.GetDownloadStreamAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)

IFtp.GetDownloadStreamAsync(String, SeekOrigin, Int64, Object)

Returns a Stream for reading data from the remote file.

Declaration
Task<Stream> IFtp.GetDownloadStreamAsync(string remotePath, SeekOrigin origin, long offset, object state)
Parameters
Type Name Description
String remotePath

The path of the remote file.

SeekOrigin origin

Position indicator that is used to obtain new position within the stream.

Int64 offset

A byte offset relative to the origin parameter.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<Stream>

A Stream for reading data from the remote file.

Implements
IFtp.GetDownloadStreamAsync(String, SeekOrigin, Int64, Object)
In This Article
  • IFtp.GetDownloadStreamAsync(String, SeekOrigin, Int64, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies