Hi,

you can use request().formValueForKey("Filedata") in your DirectAction

Stefan

Joshua Paul schrieb:
I have data coming into my app via a POST in a DirectAction. I can obtain the data via:

    (WOInputStreamData) this.request().content()

But that's where I'm stumped. Once I've grabbed the raw data, how can I extract the form information/data from it?

    Content-Disposition: form-data; name="Filedata"; filename="image.jpg"
    Content-Type: application/octet-stream

    
ˇÿˇ‡JFIF†€€Cˇ¿ˇƒ

TIA.

--
Josh Paul
[EMAIL PROTECTED]

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/stefan.klein%40buero-sde.de

This email sent to [EMAIL PROTECTED]

_______________________________________________
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