[whatwg] Asynchronous file upload

Ian Hickson ian at hixie.ch
Mon Jun 8 18:33:56 PDT 2009


On Mon, 11 May 2009, Samuel Santos wrote:
>
> I was asked by a client if it was possible to implement something 
> similar to the asynchronous file upload used on gmail using only 
> standard web technologies.
> 
> Looking at the gmail source code I can see that they use some flash 
> magic. And by reading the HTML5 spec I could not find a way to implement 
> this feature.

This is a feature of XHR2, I believe:

   http://dev.w3.org/2006/webapi/XMLHttpRequest-2/

...though it will probably rely on the upcoming File API to actually 
obtain files to upload.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list