search for: max_allowed_size

Displaying 1 result from an estimated 1 matches for "max_allowed_size".

2006 Aug 06
1
error message for too-large uploads
i''m trying to send users a polite error message when they try to upload a file above a certain size (1.5MB). we''re using lightpd with rails, and lighttpd is configured to not allow requests larger than 1.5MB. that has two flaws: 1.5MB has to be uploaded before i fails. i''d like to read the file size before is uploaded, to not waste user''s time or our bandwidth.