Returns a Stream for reading data from the remote file.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
Visual Basic |
---|
Public Function GetStream ( _ remotePath As String, _ mode As FileMode, _ access As FileAccess _ ) As Stream |
C# |
---|
public Stream GetStream( string remotePath, FileMode mode, FileAccess access ) |
Parameters
- remotePath
- Type: System..::..String
The path of the remote file.
- mode
- Type: System.IO..::..FileMode
How to open the remote file.
- access
- Type: System.IO..::..FileAccess
Which operations can be performed on the opened stream.