Re: [OT] Limiting File Upload Sizes
Re: [OT] Limiting File Upload Sizes
- Subject: Re: [OT] Limiting File Upload Sizes
- From: Chuck Hill <email@hidden>
- Date: Mon, 31 Mar 2008 21:01:55 -0700
On Mar 31, 2008, at 6:46 PM, Miguel Arroz wrote:
Hi!
The KISS solution: configure the maximum size of a request in
Apache itself, using the LimitRequestBody option in the configuration.
You should find a way to handle nicely the error pages the user
will see when submitting a file too large. This of course depends on
your setup, if you are doing the upload using some Ajax trickery or
not, etc.
If you don't want to use the Apache thing, you should be able to do a
streaming upload (stream it to disk) and cut off the copying after a
certain point. It should be straightforward to return an error message.
Chuck
On 2008/04/01, at 02:04, Owen McKerrow wrote:
Hi All,
Just wondering if anyone has any recommendations on what to use to
limit the size of files uses upload.
Im currently looking at http://swfupload.org/. has anyone had any
experience with it, in particular getting it to play nice with a
WOApp ?
Or is there something better out there ?
Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
"As of tomorrow, employees will only be able to access the building
using individual security cards. Pictures will be taken next
Wednesday employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden