mscdex

Results 571 comments of mscdex

Not offhand, but that might help narrow down the issue if `sftp.fastGet()` works every time. Would it be possible to obtain a JSON (or any other kind) file that you're...

@vitamindck Try replacing `createReadStream()` usage in `vscode-sftp` with `fastGet()` and see if the problem persists.

@dylanh724 `ssh2` is undergoing a rewrite that no longer depends on this project, so all effort is now being spent there.

What are you passing as the first argument to `readdir()`? A path string or a directory handle?

Like all `EventEmitter`s in node, you can attach an `'error'` event handler on the (sftp instance) object.

That error is not coming from this module, so I can't help you there. You'll need to take it up with `ssh2-sftp-client` it seems.

Then I can only guess it's coming from the server because this module has never had an error message like that before. Is this a custom/specialty/uncommon sftp/ssh server?

Does the upload work when using `sftp.createWriteStream()` instead? That function does not send concurrent chunks.

This repo is more or less deprecated as the protocol implementations are being moved back upstream into `ssh2`.

Can you post debug output leading up to this (set `debug: console.log` in connection config object)?