I've tried to use sftp.Exists(String) do not work for files. Already tested for file and for directory. Directory work well, but files are not recognized.
Comments: ** Comment from web user: deanis **
Comments: ** Comment from web user: deanis **
I find that with the latest version (at least) sftp.Exists(string) always returns true. That's too bad, because it just caused me to mistakenly delete 900MB of data that my code thought was a duplicate. When I reverted to an earlier version from 2012, Exists() reliably returns true or false.