Module: Capistrano::Configuration::Actions::FileTransfer

Module | Capistrano::Configuration::Actions::FileTransfer
In: | lib/capistrano/configuration/actions/file_transfer.rb

### Methods

download get put transfer upload

### Public Instance methods

download(from, to, options={}, &block)
get(remote_path, path, options={}, &block)

Get file remote_path from FIRST server targeted by the current task and transfer it to local machine as path.

get "#{deploy_to}/current/log/production.log", "log/production.log.web"

put(data, path, options={})

Store the given data at the given location on all servers targetted by the current task. If `:mode` is specified it is used to set the mode on the file.

transfer(direction, from, to, options={}, &block)
upload(from, to, options={}, &block)

[Validate]