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

Question: Does @nextcloud/upload support multipart upload to S3? Configuration details needed. #1439

Closed
BryanCB1 opened this issue Oct 15, 2024 · 2 comments

Comments

@BryanCB1
Copy link

BryanCB1 commented Oct 15, 2024

I am currently using the @nextcloud/upload library in my Angular project to handle file uploads to Nextcloud, and I am interested in leveraging multipart upload for large files. My backend is configured to use an S3-compatible storage service, and I would like to confirm the following:

  1. Does the @nextcloud/upload library support multipart uploads directly to S3 storage? If so, does the library automatically handle the multipart upload process, or are there additional configurations required to enable this feature?

  2. If additional configurations are needed, could you provide guidance or examples on how to set them up? Specifically, I am looking for information on any settings related to chunk size, parallel uploads, or custom headers that may be necessary for S3 integration.

I have already configured the Uploader with a chunkSize parameter, but I want to ensure I am taking full advantage of any multipart upload optimizations that may be available.

Thank you for your assistance, and I appreciate the great work you do!

@edward-ly
Copy link

I believe this has been supported since #925, no? No additional configuration is needed, I think.

@susnux susnux changed the title Question: Does @nextcloud/upload support multipart upload to S3? Configuration details needed. Question: Does @nextcloud/upload support multipart upload to S3? Configuration details needed. Oct 16, 2024
@susnux
Copy link
Contributor

susnux commented Oct 16, 2024

This library uses the Nextcloud WebDAV endpoints, meaning if you configured your backend correctly it will automatically use multipart upload.
Note that for public pages this is only possible starting with Nextcloud 29.

@susnux susnux closed this as completed Oct 16, 2024
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

3 participants