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