Click or drag to resize

SftpClientCreate(String, Int32) Method

Creates or overwrites the specified file.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public SftpFileStream Create(
	string path,
	int bufferSize
)

Parameters

path  String
The path and name of the file to create.
bufferSize  Int32
The number of bytes buffered for reads and writes to the file.

Return Value

SftpFileStream
A SftpFileStream that provides read/write access to the file specified in path
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also