sftp backend doesn't always get ENOTDIR when it should
Submitted by Ross Lagerwall
Assigned to gvf..@..e.bugs
The sftp backend has a routine to work out whether it should return NOT_DIRECTORY or NOT_EXISTS but it isn't used everywhere it should be.
Eg. try_read, try_make_directory, try_delete, try_make_symlink should all use it.
Version: git master