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

Ashley Sheridan ash at ashleysheridan.co.uk
Tue Jun 8 08:46:02 PDT 2010


On Tue, 2010-06-08 at 11:13 -0400, Mike Shaver wrote:
> 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
>  


Because if it wasn't supported at the OS level, we would be back into
the bad old days where each and every program had to reinvent the wheel
for file dialogues, and no doubt every browser would have it's own
unique way of presenting connecting to a remote resource. Not only that,
but when implemented, you'd have different browsers implementing
different subsets of connectivity. Some will offer only FTP, others will
offer FTP and SFTP, others might offer FTP and SVN only.

Thanks,
Ash
http://www.ashleysheridan.co.uk


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


More information about the whatwg mailing list