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 #118

Open
joneldiablo opened this issue Feb 11, 2019 · 3 comments
Open

file resume is currently not supported #118

joneldiablo opened this issue Feb 11, 2019 · 3 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);
@mscdex
Copy link
Owner

mscdex commented Feb 11, 2019

ssh.putFile() is from some other module, not ssh2-streams.

@steelbrain
Copy link

Context: The method OP is referring to uses fastPut from ssh2-streams under the hood. ref

@mscdex
Copy link
Owner

mscdex commented May 4, 2020

No idea then, the error is probably coming directly from the server. You'll have to determine the cause and then put some kind of limit/check in place to work around it.

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

3 participants