Click or drag to resize

SftpClientDelete Method

Deletes the specified file or directory. An exception is not thrown if the specified file does not exist.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public void Delete(
	string path
)

Parameters

path  String
The name of the file or directory to be deleted. Wildcard characters are not supported.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
SshConnectionExceptionClient is not connected.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also