SftpClient Create Method (String, Int32)SSH .NET Client Library Documentation
Creates or overwrites the specified file.

Namespace: Renci.SshNet
Assembly: 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: OnlineSystem String
The path and name of the file to create.
bufferSize
Type: OnlineSystem 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 path
Exceptions

See Also