Saturday, May 05, 2007

Uploading Files with Rails




I've got some people who collaborate with me, and I need a good way for them to upload files to me. Now, if I were a normal human being, I'd just fork out the $29.99 per year and use YouSendIt.com, which is actually pretty decent.

But, first, I'm not normal, and second, it would be nice to have things like versioning and a bit more control over the process.

Third, after doing it before a few times for pictures using file_column and then attachment_fu, I would like to practice with bigger files, and with progress indicators.

One neat page describes Home-brewed file upload in Ruby on Rails. Another uses a Flash based Multiple File Upload. Hmmm, not so sure about Flash. The best of the bunch is probably Rails Upload Progress.