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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With