andrewrjones/grunt-ssh — pull request #73 by sheo13666 (2014-07-09 09:54:13+00:00)
Title: Downloading files

Usage:
```javascript
mysqldump: {
files: {
//Todo local dest and remote src
'test1/': 'includes/language', // Copy remove directory to local directory
'test1/dump.sql': 'index.php',
'dump.sql': 'index.php'
},
options: {
createDirectories: true,
directoryPermissions: parseInt(755, 8),
path: '<%= secret.path %>',
host: '<%= secret.host %>',
username: '<%= secret.username %>',
password: '<%= secret.password %>',
showProgress: true,
srcBasePath: '<%= secret.path %>/public_html/', // Base relatively remote path options
destBasePath: __dirname, //
mode: 'download' // Or upload
}
}
```