There appears to be some W3C activity regarding this problem. There is a
draft about
file uploads[1] which is edited by a Mozilla employee. This is not
accidentally. As of Firefox 3
we have the possibility of Ajax file uploads. The API resembles pretty
much the draft.
Also, Safari 4 and Chrome 2 - WebKit in other words - provide an API for
the same purpose,
but it has less to do with the above mentioned standard draft.
I've written an extensive post [2] about the API in Firefox 3. Maybe it
will help you.
[1] http://dev.w3.org/2006/webapi/FileUpload/publish/FileUpload.html
[2] http://igstan.blogspot.com/2009/01/pure-javascript-file-upload.html
On 5/11/2009 02:51, 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.
Wouldn't it be great if this was possible?
--
Samuel Santos
http://www.samaxes.com/
--
Ionut G. Stan
I'm under construction | http://igstan.blogspot.com/