Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
randall-coding opened this issue Nov 23, 2021 · 0 comments

Comments

@randall-coding
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant