PuTTY bug pscp-recursion-dest-dir

This is a mirror. Follow this link to find the primary PuTTY web site.

Home | FAQ | Feedback | Licence | Updates | Mirrors | Keys | Links | Team
Download: Stable · Snapshot | Docs | Changes | Wishlist

summary: PSCP recursive copy to a new directory tries to copy all files over that dir
class: bug: This is clearly an actual problem we want fixed.
difficulty: fun: Just needs tuits, and not many of them.
priority: medium: This should be fixed one day.

If I try to copy a whole directory to an SFTP server using a command of the form pscp -r srcdir desthost:destdir, where destdir does not already exist on the destination host, I would like to end up with destdir existing and being an exact copy of srcdir.

Instead, what happens is that PSCP creates destdir but then tries to copy every file from srcdir over the top of it, i.e. it attempts to open destdir as a file repeatedly rather than opening destdir/file1, destdir/file2 and so on.

If you want to comment on this web site, see the Feedback page.
Audit trail for this bug.
(last revision of this bug record was at 2013-08-08 11:54:54 +0000)