The below is my code. This code is working fine when the file size is small. But not working when the size is large. I'm Sure server side content is written to the response. I can confirm upload is completed beacsue I can see the data in my Db table. max-post-size="2147483648 and file upload size is 11.1MB
private var fileReference:FileReferenceProgress = null;
private function onImportClick():void
{
initReference();
}
private function initReference():void
{
fileReference = new FileReferenceProgress();
fileReference.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, onFileUpload);
}
private function onFileUpload(e:DataEvent):void
{
if (e.data == "Success")
{
AlertDialog.show("Success", "Success", Alert.OK);
executeLookup(_currentFilter);
}
else
AlertDialog.show(e.data, "Error", Alert.OK);
resetUpload();
}
Can Anyone please give me a solution. Thanks in advance.