Uploading files within a plugin

Added by Tide _ over 9 years ago

I am looking to include the ability to upload compressed files in a plugin I am working on. My question is what is the best way to go about this?

- Should I use Redmine methods if they exist?
- Should I use a Gem like Paperclip or Carrierwave?
- Should I use a basic upload structure native to Rails?

The uploaded files will be compressed files. I will start with adding support for zip files and then later for other compression formats. I need to let the user upload the files then I will extract the files and put them in a directory.

Any thoughts on this would be helpful.