I am trying to get the mongrel upload progress working and am having some problems. I am using Rails 1.1.6 and the latest install of mongrel. I created the config/mongrel_upload_progress.conf per the instructions ... it looks like this ...

uri "/",
:handler => plugin("/handlers/upload", :path_info => '/listings/ add_photo'),
  :frequency => 1,
  :in_front => true

Then I start mongrel like this ...

mongrel_rails start -d -p 3000 -S config/mongrel_upload_progress.conf

In my controller's progress method I call ...

      @status = Mongrel::Uploads.check(params[:upload_id])

However, @status is always nil. Any ideas? The upload_id is properly being sent.

The file does upload; but the progress bar just goes from 0% to 100% once the upload is finished.

Thanks.

Bill Siggelkow
AIM: siggelkowb

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to