There's a bunch of work currently happening on public-webapps and public-device-apis @w3.org to enable many offline use cases like this. The most closely related specs are probably the FileSystem API and/or the LocalStorage/IndexedDB APIs + FileReader.
Unfortunately these use cases are not very well supported in browser quite yet. (No one is shipping FileSystem or LocalStorage+StructuredClone or FileReader+StructuredClone as far as I know.) J On Fri, May 14, 2010 at 10:51 AM, Alexandre Thiel <[email protected] > wrote: > Hi, > > I was wondering if HTML5 Offline mode and file upload can work together ? > I can't find any reference in the online draft which covers only server > resource caching. > Let's imagine you're writing some kind of data editor that works in offline > mode, can you ask the user to select a file to import from his filesystem > that can be processed with javascript or directly transfered to the > localStorage while being offline ? > > Alexandre >
