views:

217

answers:

0

I am implementing a multiple file upload using Adobe AIR which loops through a text file and uploads all file listed in the text. I am using file.upload() since I need to post some parameters along with the file. I am doing the next file upload at DataEvent.UPLOAD_COMPLETE_DATA listener of fileupload().

At a random time in the loop, the server throws broken pipe and at the client side (AIR application) the eventobject.data contains partial output.

What is going wrong?