I've seen this when using SFTP; for example when I try to remove a file that isn't on the remote server:
sftp> RM coa.dat.gz
Couldn't stat remote file: No such file or directory
Removing coa.dat.gz
Couldn't delete file: No such file or directory
Since "stat" isn't an English verb, this is a bit confusing.
It is clear that this has something to do with the UNIX/Linux command stat
or the C function stat()
, but I welcome a more complete description.
Couldn't stat remote file:
would say something else, instead of "No such file or directory" – Stephen P Jul 17 '13 at 20:02