similar to: invalid content-Length ERROR while uploading 2 GB of stream

Displaying 20 results from an estimated 20000 matches similar to: "invalid content-Length ERROR while uploading 2 GB of stream"

2011 Mar 08
1
Bulk file upload in rails through paperclip
Hi all, I have a rails application running and in my application am uploading some very large file (SAY 2GB) ,as of now am doing one file at time ,but i would like to do bulk file upload in my appliaction ,I came to know about Paperclip as one of plug-in for bulk file upload.... But is it possible to have bulk upload of very large file (SAY 2GB) through
2010 Sep 22
20
problem in downloading large file with apache+mongrel
hii all, am using apache as frontend to mongrel and loaded xsendfile module in apache ,am looking for 1 GB of download .this is download routine def download @stream = Stream.find(params[:id]) send_file(@stream.location,:filename => @stream.name,:disposition > ''attachment'',:x_sendfile => true ) and And this is how it is processed Processing
2010 Sep 02
7
unable to upload larger files
hii, i am trying to upload some files to filesystem using rails application when i use small size file everything is perfect but i when goes for larger files i got error this is my code #this model file class DataFile < ActiveRecord::Base def self.save(upload) name = upload[''datafile''].original_filename directory = "//192.168.147.17/Smruti/streams" #
2011 Aug 24
3
How to connect Ruby with MySQL (XAMPP)?
*Dear All:* I need your help on following points. 1. Can I connect Ruby with MySQL in XAMPP server? 2. Could someone tell me that how to connect MySQL with Ruby? I have XAMPP server installed and want to connect with ruby. I am using Ruby1.8.7. I tried following code: require ''rubygems'' require ''mysql'' begin # connect to the MySQL server
2007 Dec 12
10
sendfile and mongrel
forgive me if this has been resolved already... I have an app that is using sendfile to return large files to customers. We can''t use regular Apache to handle this static content since the files are what the customers are paying for - so it wouldn''t be cool for anyone else to get access to them. The issue is that the mongrel mem footprint gets bloated when the files are
2010 Oct 20
2
How do i use button_to_function
Hii all , I am trying to create a button that, when clicked on, calls a method in a controller . I am thinking that button_to_function is good to use for that i made htnl viwe like <h1>File Upload</h1> <p><label for="upload_file">Select File</label> : <%= file_field ''upload'', ''datafile'' %></p>
2012 Aug 25
12
index.html in rails-app/public
Hello All, I have created a rails application on hosrtmonster and created symbolic link of app''s public folder. Now default link is to index.html of rails-app/public folder. I want to set another page as homepage. I also set root in routes.rb file but its not working, also remove default index.html from public folder. Can anyone tell me how to add link
2011 Aug 17
3
file uploading controller
how to upload a video,document and a audio (of any format) within the same controller and within the same form? is it possible to do that? if not then what is the solution? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2012 Mar 29
25
Unable to deploy to Apache
Hi All, Can someone please help? I''ve been banging my head against for wall for 2 months; all of which has been spent trying to set up ROR. So I actually haven''t written 1 line of code :( Any help would be greatly appreciated :) I''m following the 4th edition of "Agile Web Development with Rails". So, I''m able to deploy the site via WEBrick.
2011 Mar 02
2
Rails3 Uploading a File over AJAX
What is the Rails Way of uploading a file over AJAX with Rails 3? In previous versions of Rails, I''ve posted to a targeted iframe and used responds_to_parent to render the response. This doesn''t appear to be working with Rails 3. Anyone know a better solution? Thanks! Tom -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Oct 15
18
Newbie - Rails 3 lightbox?
Hello! I''m trying to create a simple image "popup" effect using Lightbox2, http://www.huddletogether.com/projects/lightbox2/. But I don''t get it to work. My code looks lite this: <span class="ad_image"> <a href="<%= ad.image.url(:thumb) %>" rel="lightbox"><img src="<%= ad.image.url(:thumb) %>"
2012 Oct 09
10
Auto refresh the drop-down
I have an option in dropdown like "Add new option" written using grouped_collection_select. And when user clicks on the "Add new option". A pop up dialog appears to add a new value. And when I click create it hits the database and adds the value to the db. But It never updates the dropdown list. Suggest me a way to auto refresh only the current dropdown with the new
2011 Sep 15
2
Dragonfly and Zip uploads
I''m poring through the Dragonfly source code right now, trying to get a handle on how to apply the following technique there: Client uploads a Zip archive containing N images, PDF files, text files, etc. When that file arrives at the server, but before it is stored as an attachment to the current object, the Zip is burst open, contents are iterated over, and each contained file is saved
2011 Aug 01
3
How to call the Ruby Script using HTML?
Hi, I am new to Ruby. I want to use Ruby in browser and integrate it with HTML. Could somebody help me to do so? Please suggest me how to achieve this? I want to use my code in call my Ruby script with the help of HTML code. Is it possible? FYI: I am not using RAILS. I am using Ruby and Watir to automate the my web applications. -- Thanks and Regards, Amit -- You received this message
2010 Sep 16
5
vestal_versions -- can I set it to ignore certain columns?
I''d like my published boolean to be excluded from the calculation as to whether a version is created or not. Can anyone suggest a way to do that? Thanks, Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To
2013 Jun 20
8
[HELP] - Ruby Drag and Drop script on screen element in Mac OS
Hi All , I am new to the ruby , i want click the object on element ( any object , Ex: Calculator) after click i need Drag and Drop the element continuously for some time , please let me know how to do it in ruby in Mac OS ? Thanks , Muthu Selvan SR -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe
2011 Jan 31
3
Webmail application in ROR
Dear all, Do you know any webmail apps in Ruby on Rails ?? Though I found "mailr", it does not seem to be working with Rails 3.0. If anybody have any ideas about such apps, please do reply. Thanks !! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2011 Sep 25
4
checkbox use question
Hi, how can I use checkbox in a form to show all customers from table customers, Course Users Customers ========= ========= ============= user_id customer_id Customer_name I would like to select customers from the checkbox list, then add to the course table only users of the selected customers. thanks dani -- Posted via http://www.ruby-forum.com/. -- You received
2013 May 17
5
Active Admin with Ajax call
Hello everyone. I''m begining with Ruby on Rails, and i''m facing some trouble with "ActiveAdmin with ajax." Here''s the situation: It''s a Kennel''s web site, so, while i''m creating a new dog, i have one select/options for the dog''s father, dog''s mother, and dog''s race. After select the dog''s
2012 Dec 08
9
link_to popup
Hello All, I have a link. Which I want to open as a new window :- <%= link_to "Google", "https://www.google.com", :popup => [''new_window_name'',''toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes''] %> But it is opening in the same page.... Any suggestions how to do it ?? Even hover will be