0 Replies Latest reply on Sep 8, 2009 5:09 AM by Areai51

    Problems while uploading files using the FileReference API


      I've built an image uploader module in Flex using the FileReference API and PHP.

      While this works perfect for images upto 1 MB, What I'm noticing is that for images greater that 1 MB even after the Event.COMPLETE  has triggered, the file hasn't yet been uploaded into the folder.. its only after a couple of seconds or minutes after the Event.COMPLETE,  that the image actually shows up in the FTP folder. Morever I also noticed that for such files the DataEvent.UPLOAD_COMPLETE_DATA that we are using to get feedback from PHP never gets called.


      I thought it would be related to the PHP script getting timed out... but the PHP script does get executed and the images do show up in the folder but thats way after the Event.Complete has been triggered and more importantly  DataEvent.UPLOAD_COMPLETE_DATA doesnt get called.


      Everything seems to work fine as long as the file size is under 1 MB


      Did others too face similar problems and any ideas on how to fix it?


      Thanks in advance