Bug#814018: say 'no such directory' instead of 'is a directory'
X-debbugs-Cc: Timo Rinne <tri@iki.fi>, Tatu Ylonen <ylo@cs.hut.fi>
Package: openssh-client
Version: 1:7.1p2-2
Severity: wishlist
File: /usr/bin/scp
$ scp some_file example.com:My_DocVments/
scp: My_DocVments/: Is a directory
It really should say
scp: My_DocVments/: No such directory
Hmmm, the cp command doesn't do a much better job either. I'll tell them...
$ scp .profile /tmp/My_DocVments/
cp: cannot create regular file '/tmp/My_DocVments/': Not a directory
Reply to: