Comments (8)
Yup.
from fs.
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
At least this dose not require any read or write access, All it really needs is some metadata about file size, that's all...
i think it's mostly thanks to entry.getMetadata()
that whatwg/fs is missing. I would like revive/modernize this and do something more useful with this now that we have the whatwg/fs but i think the old api still beats this new whatwg/fs in terms of easy access and speed, i don't think promises and filehandle.getFile() would make it any faster. i bet the older api with drag and drop still beats the new fs api
I mean i can drag and drop almost any folder i want into the browser but i can't select it with show showDirectoryPicker
- that is a bit odd... i can even drop the hole user directory if i want...
from fs.
Did you mean to file this against https://wicg.github.io/file-system-access/? That's not an API this standard describes.
from fs.
hmm, yea maybe, i thought it was renamed/moved to this repo instead?
from fs.
Only partially, see WICG/file-system-access#342 for details.
from fs.
Hmm, so if i understand it right, essentially what is splitet out is
- the file system (this) of how it should operate with move/rename/create files & folder etc, so it can focus mainly on a eg a sandboxed browser storage from
navigator.storage.getDirectory()
, so that firefox and safari can implement it without worrying about any security issues about exposing sensitive access? - And the other repo is mainly just about prompting and getting access to pick and save files to a user specific directory?
from fs.
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.
that: "file-system-access" is just a method of getting permission to use a own path of user own choosing and giving back a whatwg/fs handle back. new feature request like "watching for file changes and recursively create a directory, etc" should be done to whatwg/fs and permission/security scans related things should be done to file-system-access. 🙂
from fs.
I suspect that will happen as part of the issue I linked above.
from fs.
Related Issues (20)
- proposals/MultipleReadersWriters.md
- File and Directory Watch Functionality for the FileSystem API HOT 1
- Clarify behavior of `createWritable()` when the corresponding file does not exist HOT 1
- Add a `FileSystemHandle.create()` method to create self
- Define File's type better (getFile()) HOT 6
- Define the Bucket File System in terms of the Storage spec
- Why is WirteParams's data both optional and nullable?
- Editorial: string formatting
- Support locking of directory entries
- Require taking a lock to remove an entry HOT 1
- FYI: TPAC 2023 WICG breakout session
- Temporary directories/files HOT 2
- New Modes of Creating a FileSystemWritableFileStream HOT 3
- No explicit file lock release when `write()` throws an exception HOT 3
- Origin Private File System – identification of buckets (similarly to FAS API showSaveFilePicker) HOT 3
- Using F_FULLFSYNC for flush() causing slow performance on Mac HOT 1
- getFile() shouldn't require a copy of the underlying data HOT 4
- Add a FileSystemFileHandle copy method
- Hyuuhhh
- POSIX style path access for OPFS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fs.