Open DerMagereStudent opened 3 years ago
Same problem here. The file was updated successfully but i keep getting "Error: No such file".
UPDATED: Anyone facing the same issue, this suggested workaround resolved mine. Just remember to restart vscode for the changes to take effect.
You can try my version, i've fixed a lot of bugs, maybe this will fix yours 🙂 https://github.com/Natizyskunk/vscode-sftp/releases
Same issue... error but file is uploaded ok.
Changelog shows 1.12.3 - 2019-04-27
[09-04 15:40:23] [info] [file-save] c:\TOMC\Work_Bentley\CS213\index.html
[09-04 15:40:24] [error] Error: No such file
at SFTPStream._transform (c:\Users\TMCon.vscode-insiders\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\TMCon.vscode-insiders\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.
Describe the bug When using the extension to save a file through a SSH tunnel the file is saved correctly but you also get the error No such file. So the upload failed... successfully.
To Reproduce Steps to reproduce the behavior:
ssh user@gateway.de -L 11343:dest:22
(Cannot give you the actual information)Expected behavior No error popup
Desktop (please complete the following information):
Extension Logs from Startup - required