SSH.NET icon indicating copy to clipboard operation
SSH.NET copied to clipboard

SftpClient.Exists throws an exception when file doesn't exist

Open wizofaus opened this issue 9 years ago • 5 comments

SftpClient.Exists is supposed to be used for testing for file existence but internally causes an exception to be thrown when a file doesn't exist, which is inefficient and makes debugging etc. a bit painful.

wizofaus avatar Jul 21 '16 00:07 wizofaus