Unable to fetch
files greater than ~ 40 MB using the fetch()
web api
A sample of my code :-
fetch("big.file.50MB")
.then(res => res.blob())
.then(dlBlob) // function to download blob using createObjectURL
.catch(console.error)
OutPut :
Uncaught (in promise) TypeError: Failed to fetch
But, if file is less than 40 – 35 MB it downloads perfectly…