I have a requirement to upload multiple large files from a SharePoint Hosted-Add in Page to SharePoint document library.

Well, SaveBinaryDirect works very well in CSOM but using "filepath".

Also, If I make a WebAPI of this CSOM code to upload file, the filepath will no longer be useful as the API will be hosted in Server.

Is there any alternative to upload multiple large files using Client Side approach or is there any better approach to connect to CSOM through SharePoint Hosted Add in?

Environment: SharePoint 2019. Architecture: SharePoint Hosted Add-In

Any help is much appreciated!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.