Home
|
FAQ
|
Feedback
|
Licence
|
Updates
|
Mirrors
|
Keys
|
Links
|
Team
Download:
Stable
·
Snapshot
|
Docs
|
Privacy
|
Changes
|
Wishlist
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.