SftpClient Delete Method SSH .NET Client Library Documentation
Deletes the specified file or directory. An exception is not thrown if the specified file does not exist.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public void Delete(
	string path
)

Parameters

path
Type: OnlineSystem String
The name of the file or directory to be deleted. Wildcard characters are not supported.
Exceptions

See Also