Opens an existing file for reading.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
public SftpFileStream OpenRead( string path )
Parameters
- path
- Type:
System String
The file to be opened for reading.
Return Value
A read-only System.IO.FileStream on the specified path.Exceptions
| Exception | Condition |
|---|---|
| path is null. |
See Also