Sftp.IFtp.GetDownloadStream Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
IFtp.GetDownloadStream(String, SeekOrigin, Int64)
Returns a Stream for reading data from the remote file.
Declaration
Stream IFtp.GetDownloadStream(string remotePath, SeekOrigin origin, long offset)
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. |
Returns
Type | Description |
---|---|
Stream | A Stream for reading data from the remote file. |