# File lib/sshkit/backends/netssh.rb, line 72 def download!(remote, local=nil, options = {}) summarizer = transfer_summarizer('Downloading', options) remote = File.join(pwd_path, remote) unless remote.to_s.start_with?("/") || pwd_path.nil? with_ssh do |ssh| ssh.scp.download!(remote, local, options, &summarizer) end end