Title: Flex 1.5 file upload

The server script handling the upload should expect a POST request with a Content-Type of multipart/form-data, followed by a Content-Disposition with the name attribute of "Filedata" and then a filename attribute giving the name of the original file.  Here is a sample request:

Content-Type: multipart/form-data; boundary=AaB03x

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

... contents of example.jpg ...
--AaB03x--

I hope this helps. I'll see if I can dig up a jsp example somewhere.

Joan


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin
Sent: Monday, August 08, 2005 11:25 AM
To: [email protected]
Subject: [flexcoders] Flex 1.5 file upload

Has anyone gotten the Flex 1.5 file upload example (http://www.macromedia.com/devnet/flex/articles/fp8_features.html) working with a JSP upload page?  I am getting a Processing of multipart/form-data request failed. Stream ended unexpectedly Exception.  I have been trying to get this working for a while with no success.  I am trying this with a page the is currently working with the! < SPAN LANG="en-us"> old way of uploading with flex (Standard JSP upload).  If anyone can help, it would be greatly appreciated J



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to