-
Notifications
You must be signed in to change notification settings - Fork 22
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
perhaps maybe to restrictive? #16
Comments
Some years ago I create a daisydisk like application entirely built in the web that won't require you to download any application (thanks to drag and drop to asynchronous read the content the chosen directory that you picked) here is a demo of it: https://jimmywarting.github.io/diezyweb/ and the source too i think it's mostly thanks to I mean i can drag and drop almost any folder i want into the browser but i can't select it with show |
Did you mean to file this against https://wicg.github.io/file-system-access/? That's not an API this standard describes. |
hmm, yea maybe, i thought it was renamed/moved to this repo instead? |
Only partially, see WICG/file-system-access#342 for details. |
Hmm, so if i understand it right, essentially what is splitet out is
|
Yup. |
Ty, that makes it very clear! Should be mention somewhere in both readme/explainers that file-system-access is not ment to be confused with whatwg/fs. |
I suspect that will happen as part of the issue I linked above. |
I find the directory picker to be maybe to picky on what i can and can't choose b/c it can contain executable or system files?
Maybe instead of flat out restricting me to pick any folder i want how about instead allowing
showDirectoryPicker
to succeed on mostly anything and instead make the read, write, requestPermission access on that handle to throw instead? it would be like creating some opaque handle that you would not be able to do much with it.In that case maybe you can at least go into some some of the directory or read some of the file or allowing anyone do save multiple files in a newly created directory, it feels quite silly that i can't select the nearly empty download folder to save multiple files which i can't select, But i can select my hole git folder where i have a buch of bad voodoo stuff that can execute a bunch of things, like what gives?
if i could pick the download folder (that i'm not able to select for some unknown reason) an i get a directory handle, then if i create a new folder within that directory and do:
downloadDirHandle.getDirectoryHandle('status-report-${Date.now()}', { create: true })
then surly that newly created folder should at least be safe to read and write files to?The text was updated successfully, but these errors were encountered: