jsaade I have just learned this the hard way. Flash (up to 10.2 player) has a hard limit of 30 seconds on running Requests via URLRequest. There are currently no solution to this except moving to AIR2.0 (stepping away for a web-based solution)! The issue started to happen with a client who had a small CMS that updates an XML. I would send the XML from the client to the server (to a php script). I verified that the PHP script can run for 5minutes (max execution time) but when 30 seconds elapse flash would throw an IO error. Although the Error is thrown, the PHP is actually executed on the server and the file uploaded but flash enforces this limitation. It is very weird to have this kind of limitation (especially on slow connections) where sending a 600KB POST size might take 30+ seconds. I am not sure what to do, might export to AIR 2.0 and let the client use it instead! AIR 2.0 has URLRequest idleTimeout property to set the time limit. So next time you are using flash/as3 be careful or you would end up with my case :)
arithma Use http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/Socket.html With a FileReference to inspect the file's contents and a little bit of server side programming to collect the information on the server side. It's a hassle. But it may work as a last resort. I once tried sending a few bytes from the flash plugin in my browser to a C++ process on a remote machine online and it worked well. I believe sockets don't have any time limits.
jsaade arithma wroteUse http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/Socket.html With a FileReference to inspect the file's contents and a little bit of server side programming to collect the information on the server side. It's a hassle. But it may work as a last resort. I once tried sending a few bytes from the flash plugin in my browser to a C++ process on a remote machine online and it worked well. I believe sockets don't have any time limits. Another suggestion I got was to actually register a JS function and callback, and might use jquery and wait for the result then send it back to flash. I will check both solutions. Thanks.
jsaade I implemented JS hooks (via ExternalInterface). Send the data to JS let jQuery send the Data to server, wait for callback. send back result to flash
Kassem ZeRaW wroteI implemented JS hooks (via ExternalInterface). Send the data to JS let jQuery send the Data to server, wait for callback. send back result to flash Did that solve the problem?