Net::SCP download recursive

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

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs