How can I access the main file system from HTML5?

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

I’d like to know how to do this. I’m open to any suggestions. C#, addons, whatever. Just tell me something that works.

:bust_in_silhouette: Reply From: klaas

Hi
You mean from within the browser? You cant do that. The browser does not allow that for security reasons.

okay, is it possible to open a filedilog form from c# and use that?

Cogan | 2021-08-14 22:14

Its possible via the javascript api.

Here is a stackoverflow post with some javascript code.
How to open a local disk file with JavaScript? - Stack Overflow

klaas | 2021-08-14 22:42

Thanks for the help. I’ll see if this works.

Cogan | 2021-08-14 22:59

ok this works pretty well.

Cogan | 2021-08-29 21:09