Trying out Plupload

Feb 2, 2011 · Follow on Twitter and Mastodon web

The team behind Tiny MCE has created a great upload component called Plupload that supports many runtimes, such as from jQuery-based HTML uploads, Flash, Silverlight, etc.

I decided to test Plupload in a project where I used a handy plugin called FileUploadForm, which can upload any number of files with a regular form, using AJAX.

As I yesterday started migrating the old plugin to the latest version, I thought “Three years have passed - there MUST be an easier way 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 form.

To make Plupload work with my project, I added some extra functionality, like starting and 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 & More

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

If you found this text interesting, make sure to follow me on Twitter and Mastodon for more content like this, and to be notified when new content is published.

If you like & want to support my work, please consider sponsoring me on GitHub Sponsors.