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.

Trying to download a complete folder from the Explorer: "can't open this folder because it contains system files [Choose a different folder]"

See original GitHub issue

This relates to code-server 3.12.0.

When I want to download a file to my local filesystem I right-click on the file in the Explorer and choose “Download…” – works fine… downloads right away to the Downloads folder on my local drive (without any prompt for where to save… which is fine).

But when I right-click on a folder to download the entire folder, I get the following message:

image

… where the redacted part is just the domain on which code-server instance is hosted e.g. codeserver.mydomain.com.

And no, the folder does not contain system files… not sure whether it’s referring to the remote folder or local folder, but either way there are no system files.

I’m not even sure it’s possible to download an entire folder in code-server / VSCode? I sure hope it is possible, and it feels like it’s trying to do the download (not just saying it’s not possible to download folders). Certainly on Cloud9 it is/was possible to download either a file or folder in this way, direct from the Explorer… for a folder it is just zipped and downloaded the folder as a zip (or maybe gz… either way is fine).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
thomasaptocommented, Jul 14, 2022

I’m seeing the same problem. Following the instructions at here, on a Mac (Monterey 12.4). Tried various likely places to download to, starting with ~/Downloads, the default ~/Documents, and ~/Desktop. (BTW, Downloads permission should be in place: it is in system prefs > Security & Privacy > Files and Folders, as Google Chrome.app (checkmark) Downloads Folder. I’m loathe to give Chrome “Full Disk Access” which is unchecked.)

UPDATE: what finally worked was choosing /tmp (which is actually /private/tmp), with a couple of warnings along the lines of “github.dev will be able to read files until it’s restarted”.

(At this point, my question is, what is this github.dev thing? Maybe that’s what I need to be giving permissions to? It’s not a real application though…)

Thanks

Screen shot below: I right-clicked on pyqldbsamples > Download…

Screen Shot 2022-07-14 at 10 27 46 AM
2reactions
drmrbrewercommented, Jun 22, 2022

I’m still seeing this (and being slightly frustrated by this) several times a day, so it would be great it this issue wasn’t marked as stale!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downloads Folder Not Responding on Windows 10? Fix It Now!
Therefore, fixing corrupted system files and repair bad sectors on the hard drive may help you fix the Downloads folder that won't open...
Read more >
Operation to change a personal folder location fails in Windows
Workaround · Right-click the Windows logo at the lower-left corner of the screen, and then click Run. · Type regedit.exe and press Enter....
Read more >
File System API states it can't open the documents folder ...
By design the File System Access API excludes certain folders from being opened or limits access to them. They are listed as the...
Read more >
Windows 10 "Access Denied" Folder Errors: 5 Easy Fixes
Take a look around your antivirus program's settings and see if there's an option like a file shield, ransomware protection, or similar. Try...
Read more >
If you can't access a document, a folder, or an app on Mac
If you can't use a document, a folder, or an app that you need, you may have to change the permission settings for...
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