Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload files > 250 MB #37

Closed
sangaloma opened this issue Jun 5, 2018 · 10 comments
Closed

Upload files > 250 MB #37

sangaloma opened this issue Jun 5, 2018 · 10 comments

Comments

@sangaloma
Copy link

I was trying to upload a relatively big file (600MB) but an error saying that the file is too big to be uploaded.

Is there any way to do so?

@s-KaiNet
Copy link
Owner

s-KaiNet commented Jun 5, 2018

Which SharePoint version do you use?

@sangaloma
Copy link
Author

SharePoint online

@s-KaiNet
Copy link
Owner

s-KaiNet commented Jun 7, 2018

That's strange, because for Online size limit is 15GB. I don't think you can change it.
Can you please post exact error message you received?

@sangaloma
Copy link
Author

Microsoft.SharePoint.Client.InvalidClientQueryExceptionThe request message is too big. The server does not allow messages larger than 262144000 bytes

@koltyakov
Copy link

Guys, my $0.02, for this case I guess that a custom upload with addChunked might be required as well.

@sangaloma
Copy link
Author

Is file chunking possible using spsave?

@s-KaiNet
Copy link
Owner

s-KaiNet commented Jun 8, 2018

Nope, unfortunately for now chunked upload isn't supported.

@matcobat
Copy link

I have the same problem here. Do you plan to integrate this feature in spsave ?
@sangaloma , did you find another solution ? Could you share your code if so ?
Thanks to all of you !

@koltyakov
Copy link

Hi @matcobat, @sangaloma,

Created a sample with chunked upload which can be used as a conditional option when files are large: https://github.com/koltyakov/pnp-upload

The sample is a bit raw and undertested yet I was able to upload large files this way.

@s-KaiNet
Copy link
Owner

I'm closing this one because I don't have plans to add big files support to this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants