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.

https://dev.office.com/sharepoint/docs/sp-add-ins/upload-a-file-by-using-the-rest-api-and-jquery

 

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

http://www.ktskumar.com/2016/09/pnp-js-core-upload-file-sharepoint/

 

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

https://dev.office.com/sharepoint/docs/sp-add-ins/working-with-folders-and-files-with-rest

 

 

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.