Re: WOFileUpload
Re: WOFileUpload
- Subject: Re: WOFileUpload
- From: Joshua Paul <email@hidden>
- Date: Sat, 19 Apr 2008 08:05:34 -0700
I've created a component that uses Flash (SWFUpload) to accomplish
what you're trying to do. If you're okay with adding Flash to your
app, I'll gladly pass it along.
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.
Thought`
--
Josh Paul
email@hidden
twitter: joshpaul
linkedin: joshpaul
NOTICE: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain
legally privileged and confidential information. If the reader of this
message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you
are hereby notified that any dissemination, distribution, copying, or
other use of this message or its attachments is strictly prohibited.
If you have received this message in error, please notify the sender
immediately by replying to this message and please delete it from your
computer.
_______________________________________________
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