I need to check whether a remote directory exists or not on sFtp connection.
I am using the condition like,
if (!sftp.Exists(remotePath))
I am using the library ssh2-sftp-client but it doesn't allow me to use the Exist methods because it doesn't have that function.
Can anybody suggest me what should I do for checking for remote directory exist or not?