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

File resume is currently not supported #131

Closed
joneldiablo opened this issue Feb 18, 2019 · 2 comments
Closed

File resume is currently not supported #131

joneldiablo opened this issue Feb 18, 2019 · 2 comments

Comments

@joneldiablo
Copy link

Hi, I'm having this error sometimes: "File resume is currently not supported". I have a recursive function which use ssh.putFile while upload many files:

const bubble = (track, i) => {
  let dir = sourceDirectoryName + '/' + newtrackname, resourcesDirectory + '/' + newtrackname;
  ssh.putFile(dir, fastPut)
    .then(function (success) {
          if ((i+1) < length) {
            i++;
            setTimeout(() => bubble(result[i], i), 100);
          }
    });
}
bubble(track[0],0);
@steelbrain
Copy link
Owner

Hi @joneldiablo

node-ssh is a wrapper around the awesome ssh2 lib (https://github.com/mscdex/ssh2), please see if you what you're looking for is supported in that lib directly. If it's not, I am afraid there's not much I can do from here :)

@steelbrain
Copy link
Owner

Closing as external: mscdex/ssh2-streams#118

Feel free to continue discussing

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

No branches or pull requests

2 participants