Skip to content

Callback won't be triggered #4

@medianetic

Description

@medianetic

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions