I'm working on a air
project and I'm using the FileReference
class to upload a file to a server.
The server side script must receive the file and do some stuff, then reply with an xml
telling me if everything is gone OK
or KO
.
The problem is that, often, the server side script needs more than 30 seconds to complete his task and reply.
If the latter timeout is triggered then the DataEvent.UPLOAD_COMPLETE_DATA
event is not dispatched and i can't get back the server response.
How can i get rid of this behaviour? I can't find any timeout setting in FileReference
class.