Gets reference to remote file or directory.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
Parameters
- path
- Type:
System String
The path.
Return Value
Reference to SftpFile file object.Exceptions
| Exception | Condition |
|---|---|
| path | |
| Renci.SshNet.Common SshConnectionException | Client is not connected. |
| path is null. |
See Also