Alex Beutel's Blog

Drag and Drop off the Desktop in Duke Webfiles

October 5th, 2009 · No Comments

While on break, I’ve been playing around with Mozilla’s File API and integrating it with Duke Webfiles, which I work on for OIT. This is only a proof of concept since the spec has not been completed and I only implemented it in the icon view of Webfiles. Regardless, I think it is pretty cool and makes the application much easier to use. Here is a screencast to see it in action:

To do this I used examples from here for the new File API and here for the AJAX upload. Obviously this could be expanded upon by implementing it in all three file views in Webfiles and by showing progress bars for each file. Additionally, there are some small bugs with uploading large files. However, if you are a Duke student and want to give it a try, follow the instructions below. Please note, this is a alpha version of the software, and you may run into some bugs when using it.

Please, give it a try and let me know your thoughts. Thanks.

Tags: Duke · Javascript · Web Development

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment