5

I'm using CarrierWave / Fog in a Rails application to upload videos to Amazon S3.

Is there a way to determine the progress of the upload, so that I can display the upload progress being made?

tdewell
  • 353
  • 1
  • 5
  • 13

2 Answers2

9

CarrierWave and Fog don't have that kind of functionality natively; you'll need a front-end uploader to display progress stuff. When I had to solve this problem I used jQuery file upload because I already had jQuery in my stack. There's even a post on CarrierWave integration so you can just follow the instructions there to get a progress bar working for your app.

Veraticus
  • 15,944
  • 3
  • 41
  • 45
  • Thanks for the answer! Client decided not to do a full progress indicator, but this tip will come in handy in the future I'm sure. – tdewell Mar 23 '12 at 20:32
1

Have a look at this,

https://groups.google.com/group/ruby-fog/msg/45e8f0a63d973a6b

rubiojr
  • 716
  • 5
  • 3