liximomo / vscode-sftp

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

Error while trying to perform automatic save. Error: No such file #930

Closed kaiqueluis49 closed 3 years ago

kaiqueluis49 commented 3 years ago

When I tried to upload a file using the auto upload mode after saving, the extension presented me with this huge error, I have been having this problem since last week.

VS CODE SYSTEM INFO: Version: 1.56.0 (user setup) Confirm: cfa2e218100323074ac1948c885448fdf4de2a7f Date: 2021-05-04T22: 09: 06.405Z Electron: 12.0.4 Chrome: 89.0.4389.114 Node.js: 14.16.0 V8: 8.9.255.24-electron.0 OS: Windows_NT x64 10.0.19041

Extension version: 1.12.9

[05-10 17:15:07] [error] Error: No such file at SFTPStream._transform (c:\Users\Kaique.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 (c:\Users\Kaique.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 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. (c:\Users\Kaique.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2\lib\Channel.js:167:15) at SSH2Stream.emit (events.js:315:20) at parsePacket (c:\Users\Kaique.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\ssh.js:3288:10) at SSH2Stream._transform (c:\Users\Kaique.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 (c:\Users\Kaique.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 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 c:\Users\Kaique\Documents\Projetos GIT\crosshost-certificados\app\Controllers\Home.php [05-10 17:15:21] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:15:51] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:16:21] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:16:51] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:17:21] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:17:51] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:18:21] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:18:51] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:19:21] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:19:51] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:20:21] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-10 17:20:51] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com)

oneilonline commented 3 years ago

FYI This is a duplicate of #919

jewettg commented 3 years ago

POSTED TO Stack Overflow: https://stackoverflow.com/questions/67506693/vscode-error-no-such-file-sftp-liximomo-extension/67524099#67524099

See post in Issue #934.

kaiqueluis49 commented 3 years ago

Thank you very much @jewettg your solution worked perfectly, now just make it the same official in 1.13. I will be ending this thread.