Trying out Plupload"

Feb 2, 2011 · Follow on Twitter and Mastodon web

The team behind Tiny MCE has created a great file upload component called Plupload. It supports several runtimes – from jQuery-based uploads in HTML 4/5 to Flash, Silverlight, Gears etc.

I decided to test Plupload in a hobby project, where I used a handy plugin called FileUploadForm, which could upload any number of files using AJAX. All you had to do was to add a form to a page and it would handle the entire upload process automatically.

However, as I yesterday sat down to migrate the old plugin so that it would work with the new project version, I thought “Three years have passed - there MUST be an even easier way to upload files today, right?”. Plupload to the rescue!

You can tell Plupload which runtimes you’d prefer, the file types to support etc. Users can then upload files with a regular “select file(s)” dialog or by dragging files into the upload form.

To make Plupload work with my project, I added it to my project and added some extra functionality, like starting/stopping the project engine and adjusting the target folder with a query string variable.

All in all, adding Plupload to my project took 10 minutes and works perfect.

Discussions

Please share any ideas, feedback or comments you may have in the Disqus section below, or by replying on Twitter or Mastodon..

Follow for more

If you found this interesting, follow the Twitter and Mastodon accounts for more content like this, and to be notified when new content is published.