[webkit-dev] drag'n'drop file uploads

Adam Barth abarth at webkit.org
Wed Apr 22 22:18:53 PDT 2009

You can drag and drop a file onto the file input control, which you
can create using <input type=file>.  I'm not sure if that addresses
your use case.


On Wed, Apr 22, 2009 at 1:45 PM, Philip Orr <philip_orr at hotmail.com> wrote:
>> > Does anyone have any pointers on drag and drop files from the finder
>> > directly into a web page or section of a web page. I've got examples
>> > in Firefox for this but sadly lacking in WebKit knowledge.
>> Maybe if you pointed to the examples “in Firefox” we could get a
>> better idea of what you’re talking about. If they are based on web
>> standards and don’t depend on Firefox-specific features, then there’s
>> a good chance they can be made to work in WebKit-based browsers as
>> well. Perhaps there are bugs getting in the way.
>> -- Darin
> Unfortunately the Firefox version uses the XPConnect bridge to get
> permissions handling and the XPCOM for the low level stuff.
> Here is a link to the source:
> http://straxus.javadevelopersjournal.com/creating_a_mozillafirefox_drag_and_drop_file_upload_script_p.htm
> I'm looking to create web applications in HTML5 and CSS3.0 that allow a user
> to drag either individual files or a folder of files into the application
> and are then manipulated and stored with reference to the actual files in
> the database. Once completed all files are then fired off to the server to
> final composition.
> I remember looking into this a while ago and finally gave up, only now we
> actually could really do with the ease of use and was hoping the Webkit
> nightly builds could have helped to provide the goods.
> Philip
> ________________________________
> Surfing the web just got more rewarding. Download the New Internet Explorer
> 8
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

More information about the webkit-dev mailing list