Hi All,
I'm working on project which use AIR file upload with Java back-end, I have
done back end file upload with Apache Commons *FileUpload running as servlet
on top of Tomcat 6 ,It work fine for LAN. When I try to upload files through
internet it work fine only for files which take lessthan 30 seconds times to
upload,Files which take more than 30 seconds, even file upload process is in
uploading, AIR client get events of "Event.COMPLETE" and
"HTTPStatusEvent.HTTP_RESPONSE_STATUS" with HTTPStatus 0.
events listerners are follows.
fileRef = new FileReference();
fileRef.addEventListener(Event.CANCEL, traceEvent);
fileRef.addEventListener(Event.COMPLETE, completeEvent);
fileRef.addEventListener(Event.SELECT, selectEvent);
fileRef.addEventListener(IOErrorEvent.IO_ERROR, traceEvent);
fileRef.addEventListener(Event.OPEN, traceEvent);
fileRef.addEventListener(ProgressEvent.PROGRESS,
progressEvent);
fileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
traceEvent);
fileRef.addEventListener(HTTPStatusEvent.HTTP_STATUS,
httpStatusHandler);
fileRef.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS,
httpResponseStatusHandler);
fileRef.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA,
onUploadCompleteData);
If you have any idea about how to actual track file upload complete event,
please let me know.
Regards,
Nuwan Priyadarshana
*
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---