sinatra server side file upload with progress bar ?

130 views
Skip to first unread message

Jedrin

unread,
Mar 4, 2013, 11:24:32 AM3/4/13
to rubyonra...@googlegroups.com

 I am using this jquery file upload plugin. In firefox it has progress bars, but these don't work in IE.

We are using Sinatra/JRuby/tomcat

This is the plugin:
https://github.com/blueimp/jQuery-File-Upload


 I believe the progress bars don't work in IE, because IE doesn't support that in ajax until version 10 and we have to support version 9.
This page summarizes that:
http://caniuse.com/xhr2

 The post below however seems to allude that there is an apache module in Java that could ad the support on the server side.

http://stackoverflow.com/questions/8635113/is-it-possible-ajax-upload-progress-bar-in-ie-without-flash


 Is there a way I could accomplish this with sinatra/jruby ? I am not sure how I would go about it


Jedrin

unread,
Mar 4, 2013, 11:27:12 AM3/4/13
to rubyonra...@googlegroups.com

 I'm obviously implying that the server side progress would involve a constant ajax polling action to see the progress, but the server would need to tell me what the progress is
Reply all
Reply to author
Forward
0 new messages