0

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.

Davide Berra
  • 6,387
  • 2
  • 29
  • 50

1 Answers1

0

Which server side technology are you using? as there are option in every server side language for default wait time, which can be increased e.g.(PHP) -

ini_set('max_execution_time', '500')
Varun Bajaj
  • 1,033
  • 8
  • 16
  • the server side is based on the klone server. no timeout occours. i'm sure it's the FileReference class that trigger it. – Davide Berra Feb 14 '13 at 11:04
  • Try to put ProgressEvent.PROGRESS event which Dispatched periodically during the file upload operation, and see if something comesup. – Varun Bajaj Feb 14 '13 at 11:08