question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sftp sync failed with VSC updated

See original GitHub issue

Issue Type: Bug

The sftp config path is locate project/.vsccode/sftp.json, not here “C:\Users\Darren.ssh\config”. But when VSC updated to 1.56.1,this is not working.

LOG: [05-12 13:32:54] [info] config at d:\Darren_work\wagon\uwamp\www\git_einvoice\git_einvoicenew {“remotePath”:“/data/www/einvoicenew”,“uploadOnSave”:true,“downloadOnOpen”:false,“ignore”:[],“concurrency”:4,“protocol”:“sftp”,“connectTimeout”:10000,“interactiveAuth”:false,“secure”:false,“remoteTimeOffsetInHours”:0,“name”:“TEST”,“host”:“XXXXXXXX”,“port”:22,“username”:““,“password”:””} [05-12 13:32:59] [warn] ENOENT: no such file or directory, open ‘C:\Users\Darren.ssh\config’ load C:\Users\Darren.ssh\config failed [05-12 13:32:59] [info] [file-save] d:\Darren_work\wagon\uwamp\www\git_einvoice\git_einvoicenew\modules\H1006\H1006DetailsView.php [05-12 13:33:08] [warn] Can’t set modified time to the file because Failure [05-12 13:33:08] [error] Error: No such file

[05-12 13:44:29] [info] [file-save] d:\Darren_work\wagon\uwamp\www\git_einvoice\git_einvoicenew\modules\H1006\H1006DetailsView.php [05-12 13:44:30] [error] Error: No such file at SFTPStream._transform (c:\Users\Darren.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\Darren.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.<anonymous> (c:\Users\Darren.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\Darren.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\ssh.js:3288:10) at SSH2Stream._transform (c:\Users\Darren.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\Darren.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 d:\Darren_work\wagon\uwamp\www\git_einvoice\git_einvoicenew\modules\H1006\H1006DetailsView.php

Extension version: 1.12.9 VS Code version: Code 1.56.1 (e713fe9b05fc24facbec8f34fb1017133858842b, 2021-05-06T10:08:05.141Z) OS version: Windows_NT x64 10.0.19041

System Info
Item Value
CPUs 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz (8 x 2803)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.70GB (3.03GB free)
Process Argv –crash-reporter-id e01f325e-8006-4d0d-bec6-d8a0d4c0381e
Screen Reader no
VM 57%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt943:30300582
pythonvspyt551cf:30291415
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553
vscgsv2ct:30294353
bridgeflightcf:30299255

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
jdrescher2006commented, May 12, 2021

@mrjcgoodwin : thanks for the suggestion, indeed it is exactly this problem. I was able to fix it like it is suggested in #919

1reaction
mrjcgoodwincommented, May 12, 2021

Is this the ‘no such file’ error? If so there’s a fix here: #919

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: No such file (sftp liximomo extension) - Stack Overflow
There is a calling phrase, VScode is upgraded and an error is called. It came out. Actually, I did not solve the problem....
Read more >
SFTP - Visual Studio Marketplace
sftp sync extension for VS Code. VSCode-SFTP enables you to add, edit or delete files within a local directory and have it sync...
Read more >
FTP Sync Local & Remote Server files with VS code - YouTube
Increase your productivity in the Visual Studio Code Editor by simple synchronizing of your project files while saving them from a local to ......
Read more >
Visual Studio Code SFTP - Laracasts
When making sync it working but also gives like error, what this means ? ... onPayload (c:\Users\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\ ...
Read more >
Troubleshooting SFTP Permission Denied - PCWDLD.com
As the error output reads, this issue is due to the lack of permissions to access a file or directory. Generally, you would...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found