vscode-sftp
vscode-sftp copied to clipboard
Error: No such file VS CODE 1.56
[05-26 19:55:06] [info] remote ➞ local /dashboard.php
[05-26 19:55:11] [info] [file-save] /dashboard.php
[05-26 19:55:12] [error] Error: No such file
at SFTPStream._transform (/Users/rspro/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/sftp.js:412:27)
at SFTPStream.Transform._read (internal/streams/transform.js:205:10)
at SFTPStream._read (/Users/rspro/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/sftp.js:183:15)
at SFTPStream.Transform._write (internal/streams/transform.js:193:12)
at writeOrBuffer (internal/streams/writable.js:358:12)
at SFTPStream.Writable.write (internal/streams/writable.js:303:10)
at Channel.ondata (internal/streams/readable.js:719:22)
at Channel.emit (events.js:315:20)
at Channel.EventEmitter.emit (domain.js:467:12)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Channel.Readable.push (internal/streams/readable.js:223:10)
at SSH2Stream.
I have the same issue over sftp
Same issue over sftp same stack trace
found this: https://github.com/liximomo/vscode-sftp/issues/919#issuecomment-838586635
Just for anyone not wanting to follow the #919 comment:
Do a search inside ~/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/sftp.js
for options.emitClose = false;
Add options.autoDestroy = false; after both instances.
This solved this incredibly annoying issue for me
Still got error, i have put both options emitclose.
any other recommended alternative for this kind of extension?
1.5.5 works
Some files are corrupted on upload :(
Still got error, i have put both options emitclose.
any other recommended alternative for this kind of extension?
Happened to me too but it's resolved once i restarted vscode.
@RPINerd Thanks
@RPINerd Thanks!!
Just for anyone not wanting to follow the #919 comment:
Do a search inside
~/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/sftp.jsforoptions.emitClose = false;Addoptions.autoDestroy = false;after both instances.This solved this incredibly annoying issue for me
Fixed for me on Windows 10 with sftp plugin version 1.12.9. The VSCode extensions path on Windows is likely in %userprofile%\.vscode\extensions\. From there you should be able to find the path/file mentioned by @RPINerd
https://github.com/liximomo/vscode-sftp/issues/919
You can try my version, i've fixed a lot of bugs, maybe this will fix yours 🙂 https://github.com/Natizyskunk/vscode-sftp/releases
Thanks @RPINerd worked fine here (OS X 10.15.7)
thanks @Natizyskunk work fine!!!!
This also fixed the issue for me... very frustrated first user experience...
https://github.com/liximomo/vscode-sftp/issues/941#issuecomment-849849554
fixed it.