when i trying to read file using FileReader and the file size is 5.9gb and when this code run
var file = document.getElementById('uploadFileId').files[0];
let reader = new FileReader();
reader.onerror = function() {
console.log(reader.error);
}
reader.onload = function(e) {
console.log(" e.target.result ",e.target.result);
}
reader.readAsArrayBuffer(file);
then above error is generate in angularjs. here i want to achieve that multipart file want to divide in to 5mbs chunks and send to server.
I'm getting the same message, but only for files over 2GB. Seems as though there is a file size limit that triggers this unhelpful message.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With