16 May 20:05
How to check file size before file upload completes?
From: nickname <ydroam@...>
Subject: How to check file size before file upload completes?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-16 18:09:58 GMT
Subject: How to check file size before file upload completes?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-16 18:09:58 GMT
Is it possible to check a file's size before a file upload completes? We want to limit file uploads early by checking the header's content length from the request object. The controller action and before_filter doesn't seem to run until the file finishes uploading. --~--~---------~--~----~------------~-------~--~----~ 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@... To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
RSS Feed