0 Replies Latest reply on Jun 14, 2011 5:12 AM by vineet osho

    File Uploading Error(Io Error #2038)

    vineet osho Level 1

      Hello Friends

      i m working on flash builder 4 with flash player 10 as runtime.currently i am making an application in which i have to upload a file on java server(Appache Tomcat).the problem is that i have uploaded the file using file refernce class.its uploaded in multipartreq format but it fires my io error # 2038.


      but at java side everything is working finemeans they recived the file and enter its content to database.everything is working smoothly than why my uploadcomplete handler is not firing??

       

      here is my handler code:-

       

                  fileuploadRef.addEventListener(Event.SELECT, selectHandler);
                  fileuploadRef.addEventListener(Event.CANCEL,cancelHandler );
                  fileuploadRef.addEventListener(Event.COMPLETE,uploadCompleteHandler);
                  fileuploadRef.addEventListener(IOErrorEvent.IO_ERROR, onUploadIoError);
                  fileuploadRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onUploadSecurityError);

       

       

      Please let me know why my onUploadIoError is fired instead of uploadcomplete.why its showing error


      Thanks in Advance

             Vineet osho