node-sftp-deploy
v1.0.3
Published
Upload and deploy files from SFTP within username & password
Downloads
294
Maintainers
Readme
node-sftp-deploy
Upload and deploy files from SFTP within username & password.
Install
npm install --save node-sftp-deploy
Usage
var sftp = require('node-sftp-deploy');
sftp({
"host": "10.10.10.10",
"port": "20",
"user": "user",
"pass": "pass",
"remotePath": "",
"sourcePath": "./"
}, function(){
//Success Callback
});
//Support Promise
sftp(sftpConfig).then(function(){
//Success Callback
});
Contributing
This repo is build and maintained by TmT Team. If you get any bugs or feature requests, please open a new Issue or send us Pull Request, Thank you for your contributions.