public Method

SshFilePublisher.upload

Upload the local directory to the remote directory.

Source Code

# File rake/contrib/publisher.rb, line 70
def upload
  @files.each do |fn|
    run %{scp -q #{@local_dir}/#{fn} #{@host}:#{@remote_dir}}
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.