SftpClient Exists Method SSH .NET Client Library Documentation
Checks whether file pr directory exists;

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

public bool Exists(
	string path
)

Return Value

true if directory or file exists; otherwise false.
Exceptions

See Also