Repository navigation
Conversation
Multipart chunk downloads only derived the file key from a mnemonic, so files shared with a bucket key could not be fetched in ranges. downloadChunk now uses downloadFileWithBucketKey when options.bucketKey is set, and multipartDownload gets a branch for credentials plus a bucket key.
A file stream that errored while being piped into the zip left the zip open forever. The error is now forwarded to the zip stream, and the streamSaver sink no longer reports it as an unhandled rejection before close() awaits it.
Files of 2 GiB or more inside a shared folder were fetched in a single request and, in folder zips, buffered into a Blob and cached. A new downloadFileBySize helper picks multipart download by size; the public share download and the shared-folder zip use it, and large files are streamed into the zip without being kept in memory or cached.
Deploying drive-web with
|
| Latest commit: |
78854b5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ff3e110e.drive-web.pages.dev |
| Branch Preview URL: | https://feature-shared-folder-multip.drive-web.pages.dev |
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Files inside a public shared folder now use multipart download when they are 2 GiB or larger, like shared files do since #2040.
downloadChunkandmultipartDownloadsupport shares encrypted with a bucket key.downloadFileBySizepicks multipart or a single request by file size. It is used for single files, multiple items and folder zips.Related Pull Requests
Checklist