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

Re: File API Feedback

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Tue, 30 Jun 2009 12:02:49 +0300
Message-ID: <4A49D4B9.2000909@helsinki.fi>
To: WebApps WG <public-webapps@w3.org>
On 6/19/09 6:00 AM, timeless wrote:
> On Fri, Jun 19, 2009 at 4:13 AM, Arun Ranganathan<arun@mozilla.com>  wrote:
>> Hixie, I think a Base64 representation of the file resource may be
>> sufficient, particularly for the image use case (which is how it is used
>> already).  Can you flesh out why the new schema is a good idea?
>
> so. I have folders with 100-1000mb of pictures in them. If I decide
> that I want to upload them all (Picasa style), i'd expect it would
> take a very long time to convert each file name into a base64 url.
>

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


-Olli
Received on Tuesday, 30 June 2009 09:03:28 GMT

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