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

Sftp.GetStream Method

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

GetStream(String, FileMode)

Returns a Stream for reading and writing data from the remote file.

Declaration
public Stream GetStream(string remotePath, FileMode mode)
Parameters
Type Name Description
String remotePath

The path of the remote file.

FileMode mode

How to open the remote file.

Returns
Type Description
Stream

A Stream for reading and writing data from the remote file

GetStream(String, FileMode, FileAccess)

Returns a Stream for reading data from the remote file.

Declaration
public Stream GetStream(string remotePath, FileMode mode, FileAccess access)
Parameters
Type Name Description
String remotePath

The path of the remote file.

FileMode mode

How to open the remote file.

FileAccess access

Which operations can be performed on the opened stream.

Returns
Type Description
Stream

A Stream for reading data from the remote file

In This Article
  • GetStream(String, FileMode)
  • GetStream(String, FileMode, FileAccess)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies