-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Ive used the following script:
var sftp = require('node-sftp-deploy');
let config = {
"host": "example.com",
"port": "22",
"user": "example",
"pass": "test",
"remotePath": "/var/www/html/test/",
"sourcePath": "./dist/"
}
//Support Promise
sftp(config).then(function(){
//Success Callback
console.log("Finished");
});
Its copying the directory sucessfully, but the callback will never execute. The console just says: Authenticating with password.
Metadata
Metadata
Assignees
Labels
No labels