[Bug 2150] New: Recursive upload expects target directory to already exist
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Wed Sep 11 07:56:21 EST 2013
https://bugzilla.mindrot.org/show_bug.cgi?id=2150
Bug ID: 2150
Summary: Recursive upload expects target directory to already
exist
Product: Portable OpenSSH
Version: -current
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: sftp
Assignee: unassigned-bugs at mindrot.org
Reporter: imorgan at nas.nasa.gov
The "put -r" support in sftp(1) expects a directory with the same name
as teh source directory to exist on the server prior to the upload.
That
is contrary to the behaviour of "scp -r" and is thus unexpected. It is
also contrary to the behaviour of "get -r."
sftp> cd test
sftp> lcd /etc
sftp> ls
sftp> put -r sasl2
Uploading sasl2/ to /u1/imorgan/test/sasl2
Couldn't canonicalise: No such file or directory
Unable to canonicalise path "/u1/imorgan/test/sasl2"
sftp>
sftp> mkdir sasl2
sftp> put -r sasl2
Uploading sasl2/ to /u1/imorgan/test/sasl2
sasl2/libvirt.conf
100% 1161 1.1KB/s 00:00
sasl2/smtpd.conf
100% 49 0.1KB/s 00:00
sasl2/Sendmail.conf
100% 25 0.0KB/s 00:00
sftp>
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list