Charlie,
I spent a lot of time on this. In my case it was only when using
FireFox and when HTTPs was being used. Basically the long requests
time out - it is upload file size dependent. What I ended up doing is
listening for the COMPLETE event and then round-tripping to the server
to retreive the data I wanted about the upload. When I did my upload, I
passed a UUID so I had a common thread I could count on.
Even though your issue may be slightly different, using a UUID in your
URLRequest object may help you workaround the issue.
Jeff
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Charlie Hubbard
Sent: Tuesday, October 07, 2008 7:34 AM
To: [email protected]
Subject: [flexcoders] FileReference's
DataEvent.UPLOAD_COMPLETE_DATA event being dropped randomly
I'm having trouble getting a DataEvent.UPLOAD_COMPLETE_DATA
event when uploading many FileReferences. It randomly drops events, but
I get all of the progress events, and Event.COMPLETE. I only get some
of UPLOAD_COMPLETE_DATA. I'm aware that UPLOAD_COMPLETE_DATA is not
sent if the server doesn't return any data, but I'm sending data for all
of these uploads (because it all traverses through he same code). So if
I get even one callback I should get all of them in theory. My first
theory was that my server process was taking too long and flash timed
out the response so I offloaded what was taking so long, but that didn't
improve anything.
Any idea what's going on here? Any other ideas on what I can
try? I'm using a Ruby on Rails server backend.
Charlie