Boscop / Boscop/web-view

Is there a way to access the true file system path when using a "Browse" button on webview?

Open
#306 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
179
PR merge metrics
No merged PRs in 30d

Description

I'm trying to obtain the full filepath when selecting the "Browse" button on a input[type="file"] element in my webview application. I know that browsers by default don't allow web apps to know the true file system paths, but since webview is used to make desktop applications I wonder is there some hack that would allow us to access the file system?

It appears that the default behavior is just that of a normal browser, which adds a fake path to the filename, but for my application I want to obtain an actual folder from the user which my application will store files in. Being able to select that with a file browser window would help user experience a lot.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.