Upload file to SharePoint using PnP JS Core Component

%3CLINGO-SUB%20id%3D%22lingo-sub-13814%22%20slang%3D%22en-US%22%3EUpload%20file%20to%20SharePoint%20using%20PnP%20JS%20Core%20Component%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-13814%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EUpload%20files%20to%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fhashtag%2FSharePoint%3Fsrc%3Dhash%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%23%3C%2FA%3E%3CSTRONG%3ESharePoint%3C%2FSTRONG%3E%3CSPAN%3E%20library%20using%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fhashtag%2FPnP%3Fsrc%3Dhash%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%23%3C%2FA%3E%3CSTRONG%3EPnP%3C%2FSTRONG%3E%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fhashtag%2FJavaScript%3Fsrc%3Dhash%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%23%3C%2FA%3E%3CSTRONG%3EJavaScript%3C%2FSTRONG%3E%3CSPAN%3E%20library%2C%20%3CA%20href%3D%22http%3A%2F%2Fwww.ktskumar.com%2F2016%2F09%2Fpnp-js-core-upload-file-sharepoint%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.ktskumar.com%2F2016%2F09%2Fpnp-js-core-upload-file-sharepoint%2F%3C%2FA%3E%3C%2FSPAN%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fhashtag%2FOffice365%3Fsrc%3Dhash%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%23%3C%2FA%3E%3CSTRONG%3EOffice365%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-105313%22%20slang%3D%22en-US%22%3ERe%3A%20Upload%20file%20to%20SharePoint%20using%20PnP%20JS%20Core%20Component%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-105313%22%20slang%3D%22en-US%22%3EThanks%20for%20the%20introduction.%3CBR%20%2F%3E%3CBR%20%2F%3EQuick%20question%2C%20In%20my%20testing%20I%20couldn't%20upload%20a%20file%20larger%20than%20about%20250mb%20using%20the%20pnp%20method%20you%20demo'd%20or%20Microsoft's%20straight%20rest%20demo%2C%20which%20I%20figure%20the%20PNP%20method%20also%20uses.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdev.office.com%2Fsharepoint%2Fdocs%2Fsp-add-ins%2Fupload-a-file-by-using-the-rest-api-and-jquery%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdev.office.com%2Fsharepoint%2Fdocs%2Fsp-add-ins%2Fupload-a-file-by-using-the-rest-api-and-jquery%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EREST%20Api%20is%20supposed%20to%20support%20files%20up%20to%202GB%2C%20any%20idea%20how%20I%20can%20get%20this%20working%3F%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Upload files to #SharePoint library using #PnP #JavaScript library, http://www.ktskumar.com/2016/09/pnp-js-core-upload-file-sharepoint/ #Office365

1 Reply
Highlighted
Thanks for the introduction.

Quick question, In my testing I couldn't upload a file larger than about 250mb using the pnp method you demo'd or Microsoft's straight rest demo, which I figure the PNP method also uses.

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

REST Api is supposed to support files up to 2GB, any idea how I can get this working?