# File lib/net/sftp/session.rb, line 192 def get_file( remote_path, local_path ) open_handle( remote_path ) do |handle| contents = read( handle ) File.open( local_path, "wb" ) { |f| f.write contents } end end