W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: File API Feedback

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 30 Jun 2009 10:44:47 +0000 (UTC)
To: Olli Pettay <Olli.Pettay@helsinki.fi>
Cc: WebApps WG <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.62.0906301014360.16244@hixie.dreamhostps.com>
On Tue, 30 Jun 2009, Olli Pettay wrote:
> 
> File API should probably have some way to get only parts of the file.
> getAsXXX(long long offset, long long length). Then uploading huge files
> could be split and decoding video (or something like that) in JS might become
> possible.
> This is something we need for XHR too
> https://bugzilla.mozilla.org/show_bug.cgi?id=496533

I'd rather just have an API that lets you split a File into a 
sequence<FileData> (where FileData is what File inherits from) of equally 
sized chunks, or something like that, than something that lets you get 
chunks out in particular forms.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 30 June 2009 10:45:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:31 GMT