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

Use multipartupload for uploading chunks to s3 #38

Merged

Conversation

mpivchev
Copy link
Collaborator

@mpivchev mpivchev commented Jul 19, 2023

This changes the names of the chunks to start from 1 and be only numerical

Related to nextcloud/ios#2541
Docs: nextcloud/documentation#10740

mpivchev added 2 commits July 18, 2023 18:25
Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
@juliusknorr
Copy link
Member

juliusknorr commented Jul 20, 2023

Edge-case since on mobile you probably don't upload files that large, but would it make sense to have some extra assertion to not let the chunk count exceed 10.000?

@mpivchev
Copy link
Collaborator Author

Edge-case since on mobile you probably don't upload files that large, but would it make sense to have some extra assertion to not let the chunk count exceed 10.000?

Sure, i'm just not sure what we can do as a solution to this edge case. A simple print with an error might be enough for just the lib, but for the Files app we need to do more than that. I'll see what I can do.

mpivchev added 2 commits July 21, 2023 15:09
Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
…nto 2471-use-multipartupload-for-uploading-chunks-to-s3-2
@mpivchev mpivchev merged commit 39672c3 into develop Jul 27, 2023
@delete-merged-branch delete-merged-branch bot deleted the 2471-use-multipartupload-for-uploading-chunks-to-s3-2 branch July 27, 2023 14:58
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

Successfully merging this pull request may close these issues.

3 participants