liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.51k stars 267 forks source link

Error: No such file VS CODE 1.56 #941

Open rogerthedeveloper opened 3 years ago

rogerthedeveloper commented 3 years ago

[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. (/Users/rspro/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2/lib/Channel.js:167:15) at SSH2Stream.emit (events.js:315:20) at SSH2Stream.EventEmitter.emit (domain.js:467:12) at parsePacket (/Users/rspro/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/ssh.js:3288:10) at SSH2Stream._transform (/Users/rspro/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/ssh.js:694:13) at SSH2Stream.Transform._read (internal/streams/transform.js:205:10) at SSH2Stream._read (/Users/rspro/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/ssh.js:253:15) at SSH2Stream.Transform._write (internal/streams/transform.js:193:12) at writeOrBuffer (internal/streams/writable.js:358:12) at SSH2Stream.Writable.write (internal/streams/writable.js:303:10) at Socket.ondata (internal/streams/readable.js:719:22) at Socket.emit (events.js:315:20) at Socket.EventEmitter.emit (domain.js:467:12) at addChunk (internal/streams/readable.js:309:12) at readableAddChunk (internal/streams/readable.js:284:9) at Socket.Readable.push (internal/streams/readable.js:223:10) at TCP.onStreamRead (internal/stream_base_commons.js:188:23) when local ➞ remote /dashboard.php

Dennislampert commented 3 years ago

I have the same issue over sftp

eco747 commented 3 years ago

Same issue over sftp same stack trace

Dennislampert commented 3 years ago

found this: https://github.com/liximomo/vscode-sftp/issues/919#issuecomment-838586635

RPINerd commented 3 years ago

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

mgilank commented 3 years ago

Still got error, i have put both options emitclose.

any other recommended alternative for this kind of extension?

suqingdong commented 3 years ago

1.5.5 works

eco747 commented 3 years ago

Some files are corrupted on upload :(

rarahim75 commented 3 years ago

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.

ZellerDorjee commented 3 years ago

@RPINerd Thanks

brett-shenk commented 3 years ago

@RPINerd Thanks!!

caleywoods commented 3 years ago

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

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

bitbytebit1 commented 3 years ago

https://github.com/liximomo/vscode-sftp/issues/919

Natizyskunk commented 3 years ago

You can try my version, i've fixed a lot of bugs, maybe this will fix yours 🙂 https://github.com/Natizyskunk/vscode-sftp/releases

t0in commented 3 years ago

Thanks @RPINerd worked fine here (OS X 10.15.7)

fbastos commented 3 years ago

thanks @Natizyskunk work fine!!!!

atoomic commented 3 years ago

This also fixed the issue for me... very frustrated first user experience...

clayms commented 2 years ago

https://github.com/liximomo/vscode-sftp/issues/941#issuecomment-849849554

fixed it.