Fwd: sftp buggy put command

Iain Morgan imorgan at nas.nasa.gov
Tue Feb 3 08:13:33 AEDT 2015


On Mon, Feb 02, 2015 at 20:28:00 +0530, dE wrote:
> Hi!
> 
> I was tying out the put command with version 6.7_p1 of OpenSSH.
> 
> If I use recursive copying, sftp expects the last directory in the
> <source> exists in the destination (on the server), otherwise “Couldn't
> canonicalize: No such file or directory”.
> 
> I would've taken this to be the expected behavior, but get command does
> not have this problem. It makes the destination directory in the client
> like with cp.
> 
> So kindly take a look at this.
> 
> 
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

This has already been noted as a bug[1][2], but hasn't been addresed
yet. I filed the original bug, but had other priorites, and then forgot
about the issue. I'll take another look at this when I get some time.

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=2150
[2] https://bugzilla.mindrot.org/show_bug.cgi?id=2230

-- 
Iain Morgan


More information about the openssh-unix-dev mailing list