FileDialog in Web Export shows /home/web_user as path. Where do I find this path on my file system?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By eddex

I have a project which is usually running on a desktop. One of the first steps is to manually select a file using a FileDialog node.

Just out of curiosity I exported my project for web. I run it using a local web server (using python -m http.server). When I open the FileDialog, the path /home/web_user is the root folder.

Where can I find this path on my local file system? Or is this just some virtual file system from my browser? I tried it with Firefox and Chrome and got the same result.

For my project to work I have to be able to select a config file, so I need a way to put files into this path (manually).

:bust_in_silhouette: Reply From: 1shevelov

AFAIK browsers store websites’ data in a local database. This data is not accessible through file system.

A simplest solution that I implemented for the similar problem is to show user a TextEdit control and ask to copy-paste text (or JSON data) here and parse it afterwards.

More complex variant is to have an independent HTML control which would load a file and store it on a server. Then you can request it with HTTPRequest from Godot.