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

Error when using put #13

Closed
niklasravnsborg opened this issue Sep 30, 2015 · 3 comments
Closed

Error when using put #13

niklasravnsborg opened this issue Sep 30, 2015 · 3 comments
Labels

Comments

@niklasravnsborg
Copy link

NodeSSH = require('node-ssh');

var ssh = new NodeSSH();

ssh.connect({
    host: 'host',
    username: 'user',
    password: 'pass'
}).then(function() {
    return ssh.put('dist/index.html', 'index.html').then(function() {
        console.log('done');
    });
}).catch(function(err) {
    console.error(err);
});

Getting this Error: [TypeError: Cannot read property 'fastPut' of undefined]. Local file exists and should be uploaded.

@steelbrain steelbrain added the bug label Sep 30, 2015
@steelbrain
Copy link
Owner

Thanks for the bug report, I'll try to repro

@steelbrain
Copy link
Owner

A fix has been published

@niklasravnsborg
Copy link
Author

Works now thank you. Similar bug still appears here: #14

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

No branches or pull requests

2 participants