Upload large file (250MB+) in browser using REST API

Bronze Contributor

What magic is required to upload files larger than 250MB using the REST Api with JS in the browser?


Below works great up until about 250MB file size, then the browser bombs out, tested using all browsers.



Tried using the PNP-JS method and same restriction was encountered



Considering this Working with large files using REST API may be required




2 Replies
I'd like to know this myself. There's zero documentation on this.

So it seems technically the rest API can support files chunks up to 2GB in size, but a browsers memory can't. What you need to to do is split a file and upload in say 10mb chunks and it works great, all dependent on internet connection also.