I'm having some issues with fine-uploader. With smaller files (~20MB), everything is great. However, with larger files (100MB+), the files will upload to around 5%, then the progress bar will reset back to 0%.

Upload eventually fails with "Error when attempting to parse xhr response text (SyntaxError: Unexpected end of input)".

In my endpoint (upload.php), my very last line is "echo json\_encode($result);". $result is an array, and here's the relevant PHP:

```
if (move_uploaded_file($file['tmp_name'], $target)){
    $result = array('success'=> true);
    $result['uploadName'] = $file['name'];
} else {
    $result = array('error'=> "Upload failed");
}
header("Content-Type: text/plain");
echo json_encode($result);

```

Is this an issue with upload.php or is something funky happening with fine-uploader?