sshkit v0.0.1 SSHKit.SCP.Download
Summary
Functions
Downloads a file or directory from a remote host
Functions
Downloads a file or directory from a remote host.
Options
:verbose- let the remote scp process be verbose, defaultfalse:recursive- set totruefor copying directories, defaultfalse:preserve- preserve timestamps, defaultfalse:timeout- timeout in milliseconds, default:infinity
Example
:ok = SSHKit.SCP.Download.transfer(conn, '/home/code/sshkit', 'downloads', recursive: true)