Hey I found two interesting functions while going through capistrano’s files. There are two functions named “upload” and “download”, which can be used to download and upload directories from / to remote server using scp.

Examples:


You can also use :sftp.

Unfortunately it is not much documented :( .

Share this:

Privacy Preference Center