1.0.1 • Published 4 years ago
node-sftp-deploy2 v1.0.1
node-sftp-deploy2
Fork from node-sftp-deploy, you can use it by prompting the password.
Install
npm i node-sftp-deploy2 -D
Usage
var sftp = require('node-sftp-deploy2');
sftp({
"host": "10.10.10.10",
"port": "20",
"user": "user",
"remotePath": "",
"sourcePath": "./"
}, function(){
//Success Callback
});
//Support Promise
sftp(sftpConfig).then(function(){
//Success Callback
});