# Uploading a file

**URL:** <https://www.ruby-forum.com/t/uploading-a-file/226241>\
**Category:** Rails I18n\
**Created:** [August 18, 2011, 11:11am UTC](https://www.ruby-forum.com/t/uploading-a-file/226241 "2011-08-18T11:11:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kapil\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@kapil\_k](https://www.ruby-forum.com/u/kapil_k)\
**Post date:** [August 18, 2011, 11:11am UTC](https://www.ruby-forum.com/t/uploading-a-file/226241/1 "2011-08-18T11:11:51Z")

</div>

how to upload a video,audio and a document file all in one controller?

is it possible?

if possible? please give me the solution

---

<div class="post-metadata">

**Author:** ![kapil\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@kapil\_k](https://www.ruby-forum.com/u/kapil_k)\
**Post date:** [August 18, 2011, 8:38pm UTC](https://www.ruby-forum.com/t/uploading-a-file/226241/2 "2011-08-18T20:38:12Z")

</div>

Hi Kapil,

It’s not really a I18n question, but okay.

You should take a look at carrierwave and paperclip. Both are excellent  
upload gems. Carrierwave has my preference.

Carrierwave: [GitHub - carrierwaveuploader/carrierwave: Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks](https://github.com/jnicklas/carrierwave)  
Paperclip: [GitHub - thoughtbot/paperclip: Easy file attachment management for ActiveRecord](https://github.com/thoughtbot/paperclip)

So it’s certainly possible to upload many files in one request. Make  
sure  
you configure apache/nginx to handle large files though.

– iain
