I am using SmartUpload to upload file, the smartupload code are contained in uploadEngine.jsp . I am wondering if the unstable submit is due to ENCTYPE="multipart/form-data.. thanks your kind attention
Dear, I have use the Post form to upload something by JSP. However, the upload is sometimes done successfully, sometimes the upload is NOT successful and redirect to another error page. Is there anyone have experience of having this problem. It is difficult to solve problem sometimes ok and sometimes not ok!!
[ October 25, 2004: Message edited by: grace chow ] [ October 25, 2004: Message edited by: grace chow ]
the multipart/form-data is required for file uploading. You say sometimes it works, sometimes it doesn't. Are you using the O'Reilly upload code? Not sure if they updated it, but when I last used it, it had hardcoded file size and connection timeout limits. We had code that worked perfectly in the office and failed about 50% in production due to timeouts. I think it was a bit hard to chase due to poor exception reporting.