Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capistrano 3.0 file transfers?

Seems like Capistrano used to have an extensive file transfer package.

However, it seems to be gone in version 3.0 after the rewrite. Any idea if there is some alternative way to still transfer files to/from servers?

like image 413
shaimo Avatar asked Oct 20 '13 14:10

shaimo


1 Answers

To download:

desc "download foobar.txt into local_dir/"
task :foobar do
  download! "some_remote_path/foobar.txt", "local_dir/"
end

I know this works as of Cap 3.2.1, as I'm using it right now.

like image 162
Grant Birchmeier Avatar answered Sep 24 '22 08:09

Grant Birchmeier



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!