I'm using non-jQuery dependent FineUploader with the PHP example error-reporting script to upload a file. Chunking and resuming are turned on. All handling is from the PHP example scripts without any modifications.
Works successfully on test files of up to ~90mb, however when attempting to upload a file of 329mb, the upload begins but then aborts with the 'File is empty' error.
I can see from my chunk folder that approximately 77mb of the file was uploaded before the error. Attempts to resume do not work and do not increase the size of the chunk directory.
Environment: LAMP, Centos 6.3.
post_max_size
and upload_max_filesize
both set to 2048M in php.ini.
Any indiciation as to the cause of this? Happy to provide additional information.
Uploader code:
<div id="failed-fine-uploader"></div>
<script>
function createUploader() {
var faileduploader = new qq.FineUploader({
element: document.getElementById('failed-fine-uploader'),
request: {
endpoint: 'example.php'
},
chunking: {
enabled: true
},
resume: {
enabled: true
},
failedUploadTextDisplay: {
mode: 'custom',
maxChars: 40,
responseProperty: 'error',
enableTooltip: true
}
});
}
window.onload = createUploader;
</script>
EDIT: Console info:
[17:31:09.314] [FineUploader] Processing 1 files or inputs...
[17:31:09.315] [FineUploader] Resuming CentOS-6.3-x86_64-minimal.iso at partition index 40
[17:31:09.316] [FineUploader] Sending chunked upload request for item 4: bytes 80000001-82000000 of 346011648
[17:31:09.504] [FineUploader] xhr - server response received for 4
[17:31:09.504] [FineUploader] responseText = {"error":"File is empty.","uploadName":null}