Following @ guest271314's advice, I added StreamSaver.js to my project and I successfully received files larger than 1 GB in Chrome. According to the documentation, it should work for files up to 15 GB, but my browser crashed before that (the maximum file size was about 4 GB for me).
Note I: to avoid the Blob block size limit, I also tried to manually add data to the href field for <a></a>
, but it failed with files around 600 MB ...
Note II: Surprisingly createObjectURL
, the basic technique using createObjectURL
works fine in Firefox for files up to 4 GB !!
Brian source share