Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback won't be triggered #4

Open
medianetic opened this issue Sep 29, 2020 · 0 comments
Open

Callback won't be triggered #4

medianetic opened this issue Sep 29, 2020 · 0 comments

Comments

@medianetic
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant