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

[whatwg] input type=upload (not just files) proposal

From: Mike Shaver <mike.shaver@gmail.com>
Date: Tue, 8 Jun 2010 11:13:49 -0400
Message-ID: <AANLkTinYDmC8gxNxRokSiLfQmNm5laKfQdBiWOX4DT-h@mail.gmail.com>
On Tue, Jun 8, 2010 at 11:02 AM, Ashley Sheridan
<ash at ashleysheridan.co.uk>wrote:

>  Yes, and the rest of my email said that.

Sorry, I am not familiar with KIO, and didn't see the need for OS support.

> KIO slaves on KDE work just like that. It's not something that I think a
> user agent can easily just add in, but something that needs to be supported
> at the OS level.

I'm not sure why -- if the UA can save the resource to disk, and it can
upload files from disk to the site, then it can do all the things required.
It could optimize by chaining the streams together so it didn't have to
buffer the whole resource on disk, but an uploaded file is just a bunch of
bytes, so I don't think the OS needs to provide any sendfile-like magic.

I'd actually be a little surprised if there wasn't a Firefox add-on that
permitted this already, though overlaying the native file dialog is sort of
tricky I guess...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100608/24ff621f/attachment.htm>
Received on Tuesday, 8 June 2010 08:13:49 UTC

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