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

Mike Shaver mike.shaver at gmail.com
Tue Jun 8 08:13:49 PDT 2010


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...

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100608/24ff621f/attachment-0002.htm>


More information about the whatwg mailing list