W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] HTML5 Offline web applications & file upload

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 3 Aug 2010 23:39:11 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1008032338480.7470@ps20323.dreamhostps.com>
On Fri, 14 May 2010, Alexandre Thiel wrote:
> 
> 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 ?

Yes, using the input.files attribute and then storing the result in 
localStorage.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 3 August 2010 16:39:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:25 UTC