I am getting the same error that Andriy reports below. However, the uploads works fine. Carson, where can I find more information about Flash Player sending the request twice. I am assuming that this is a known problem. I found others forums where they talk about this error and some of them mention that Flash is not using enctype="multipart/form-data" and that that is causing the problem.
Any ideas? |---------+---------------------------------> | | | | | "Carson Hager" | | | <[EMAIL PROTECTED]| | | m> | | | Sent by: | | | flexcoders@yahoogroups.com | | | 03/27/2006 05:40 PM | | | Please respond to flexcoders | | | | |---------+---------------------------------> >-----------------------------------------------------------------------------------------------------------------------------| | | | To: flexcoders@yahoogroups.com | | cc: | | Subject: RE: [flexcoders] What upload servlet at server side to use along with FileReference class? | >-----------------------------------------------------------------------------------------------------------------------------| We've found that the O'Reilly classes work pretty well. The error you're seeing is likely due to a problem with the Flash Player where it actually sends the request twice. Normally the second request has incorrect data. We simply catch the IOException and ignore it. Carson ____________________________________________ Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andriy Panas Sent: Monday, March 27, 2006 2:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] What upload servlet at server side to use along with FileReference class? Hello flexcoders, We are trying to use http://servlets.com/cos/ O'Reily's file upload package MultipartRequest along with FileReference class. ------------------------------------------------------------------- My question to community is: what it your preferred choice at the server side to handle uploaded files? Cold Fusion page? Jakarta's Commons File Upload? http://jakarta.apache.org/commons/fileupload/ ... your choice? ------------------------------------------------------------------- ps Currently, FileReference class with O'Reily's file upload package combination does not work very well at our setup. We receive an error from Java servlet under certain circumstances ( requires more testing to pin those circumstances down) "error Corrupt form data: premature ending java.io.IOException: Corrupt form data: premature ending" -- Best regards, Andriy mailto:[EMAIL PROTECTED] -- 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 -- 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 --------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --------------------------------------------------------------------------- -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/