Skip to content

feat(storage): download a file as a stream - #1062

Open
fresh55 wants to merge 1 commit into
supabase:masterfrom
fresh55:feat/storage-download-stream
Open

fresh55 wants to merge 1 commit into
supabase:masterfrom
fresh55:feat/storage-download-stream

Conversation

@fresh55

@fresh55 fresh55 commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Adds DownloadStreamAsync, which returns a FileDownload as soon as the response head arrives, so a large file is never held in memory. The download exposes the status, the headers and the body stream, and can collect the body up to a byte cap or save it to a file through a temporary file. Byte ranges are not included.

This branch has not been deployed

No deployments
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.

1 participant