<div class="gmail_quote">On Tue, Jun 8, 2010 at 11:02 AM, Ashley Sheridan <span dir="ltr"><<a href="mailto:ash@ashleysheridan.co.uk">ash@ashleysheridan.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



  
  

<div>
Yes, and the rest of my email said that.<br></div></blockquote><div><br>Sorry, I am not familiar with KIO, and didn't see the need for OS support.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
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.<br></div></blockquote></div><br>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.<br>
<br>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...<br><br>Mike<br> <br>