search for: uploadprogress

Displaying 11 results from an estimated 11 matches for "uploadprogress".

Did you mean: upload_progress
2007 Mar 23
1
upload progress bar don''t work...please help
...l rails upload.rb : ############## require ''rubygems'' require ''drb'' require ''gem_plugin'' GemPlugin::Manager.instance.load ''mongrel'' => GemPlugin::INCLUDE DRb.start_service ''druby://0.0.0.0:2999'', Mongrel::UploadProgress.new DRb.thread.join mongrel_upload_progress.conf : ########## uri "/", :handler => plugin("/handlers/upload", :path_info => ''/files/upload'', :frequency => 1, :drb => ''...
2007 Apr 22
0
request_ends callback
...and I wish there was a request_ends callback. Why? I need to do some processing of the file after the upload (like pushing it to Amazon S3 in the back) and I''d like to continue providing user feedback through the progress HTTP requests The nicest way to do that would be to leverage the UploadProgress class since it has an instance for the specific upload_id. However, before my merb process handler gets called, the UploadProgress is deleted. I''d be glad to insert a request_ends callback into mongrel itself, but I''m not sure where to hook it. Would HttpServer#process_client...
2006 Dec 25
4
Definitive guide for upload progress
...quire ''rubygems'' require ''fastthread'' require ''drb'' require ''gem_plugin'' GemPlugin::Manager.instance.load ''mongrel'' => GemPlugin::INCLUDE DRb.start_service ''druby://0.0.0.0:2999'', Mongrel::UploadProgress.new DRb.thread.join And all I get during upload ajax process are raised errors: "A NameError occurred in upload#progress: uninitialized constant Mongrel::Uploads". Status remains at 0% and picture is uploaded. The DRb client always lists an empty array during uploads (get_status.list)...
2008 May 05
0
mongrel_upload_progress_bar - where are my files?
> I just configured mongrel_upload_progess_bar following this doc: > > http://mongrel.rubyforge.org/wiki/UploadProgress > > My "config/mongrel_upload_progress.conf" looks like: > > uri "/", > :handler => plugin("/handlers/upload", > :path_info => ''/Users/railer/Documents/RAILS/dummy/files/upload'', > :drb => ''druby://127.0.0...
2008 May 05
0
mongrel_upload_progess_bar - where are my files?
> I just configured mongrel_upload_progess_bar following this doc: > > http://mongrel.rubyforge.org/wiki/UploadProgress > > My "config/mongrel_upload_progress.conf" looks like: > > uri "/", > :handler => plugin("/handlers/upload", > :path_info => ''/Users/railer/Documents/RAILS/dummy/files/upload'', > :drb => ''druby://127.0.0...
2006 Jan 14
0
Lighttpd and upload progress
Last time I checked, the upload progress module (http://api.rubyonrails.com/classes/ActionController/UploadProgress.html) was not working under Lighttpd. Anyone know if that that has changed or when it will change? -- Posted via http://www.ruby-forum.com/.
2006 Oct 11
0
Upload Progress and Finishing Up
...want to do a few of my own things when the action finishes so I was thinking, RJS? Well, I?m having trouble. Basically, the JavaScript is being rendered as text in the iFrame (Safari 2.0). I have this code at the end of my upload action: render :update do |page| page << "window.parent.UploadProgress.finish();" page.insert_html :before, ''file_upload_box'', :partial => ''/collection/file_item'', :locals => {:file_item => @new_pd_file} page.visual_effect :fade, "file_item#{@new_pd_file.id}" end The idea is that it calls the JavaScript f...
2008 Jan 03
1
Can''t get upload progress bar working
...Here''s a copy of the merb log during a typical upload of a 150 meg file on my local machine (my comments are in brackets): http://www.4l.ie/merb/merb_upload.log At this point I believe the issue lies with the @upstatus instance variable in controllers/files#progress being nil so the UploadProgress.update (javascripts/mup.js) function call in views/files/progress.js.erb is not being called, hence why nothing is happening to the progress bar. I''m working on OS X 10.4.10, ruby 1.8.4, mongrel 1.1.3 and have the various merb gem dependencies installed. Thanks in advance for any assi...
2010 Sep 09
1
406 Not Acceptable with swfupload
...button_text_top_padding: 3, file_size_limit : ''10000'', file_types : ''*.jpg'', file_types_description : ''JPG Images'', file_upload_limit : ''0'', custom_settings : { progressTarget : "fsUploadProgress" }, file_queue_error_handler : fileQueueError, file_dialog_complete_handler : fileDialogComplete, upload_progress_handler : uploadProgress, upload_error_handler : uploadError, upload_success_handler : uploadSuccess, upload_complete_handler : uploadCom...
2006 Mar 09
1
Rails File Upload w/ Ajax Update?
I''m trying to upload a file, display the upload progress and then update a table with the newly uploaded file. Is there a way to specify a :success handler for form_tag_with_upload_progress such that I have access to the request.response data (in the way I can with link_to_remote)? The :finish JavaScript is being executed but because there is no request object, the table
2006 Dec 27
6
file upload
I ma trying to get this upload working, http://mongrel.rubyforge.org/docs/upload_progress.html, ....after starting from the command line, mongrel_rails start -d -p 3001 -S config/mongrel_upload_progress.conf I get this eror in the browser, NameError uninitialized constant UploadProgressRailsController RAILS_ROOT: /usr/opt/tomcat/workspace/upload/config/.. Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in `const_missing'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_sup...