Forum: Ruby Net::SCP download recursive

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
pdenize (Guest)
on 2009-04-30 02:15
(Received via mailing list)
The recursive documentation suggests that
:recursive - the remote parameter refers to a remote directory, which
should be downloaded to a new directory named local on the local
machine.

So I copied "/pub/temp" to "C:\TEMP"

If temp had one file /pub/temp/file, the copy results in a file at C:
\TEMP\temp\file, shouldn't it have been C:\TEMP\file

This is what command line scp would have done.
This topic is locked and can not be replied to.