Returns a Stream for reading and writing 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 _ ) As Stream |
C# |
---|
public Stream GetStream( string remotePath, FileMode mode ) |
Parameters
- remotePath
- Type: System..::..String
The path of the remote file.
- mode
- Type: System.IO..::..FileMode
How to open the remote file.