Creates or overwrites a file in the specified path.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
public SftpFileStream Create( string path )
Parameters
- path
- Type:
System String
The path and name of the file to create.
Return Value
A SftpFileStream that provides read/write access to the file specified in pathExceptions
| Exception | Condition |
|---|---|
| path is null. |
See Also