I'm trying to verify the size of a file upload and limit its upload before
actually sending any data across the wire.  I know I can check the
content-length header early on in the game in dispatchRequest, but even if I
just throw a RuntimeException at that point, I can't stop WebObjects from
reading in the data anyways, before sending back a response.  I'm using
WOFileUpload with streamToFilePath.

Fwiw, I've looked into javascript validation to try and check the
content-length client side first, but haven't had success with that.

Thoughts?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to