Skip to content

Stream download large file from S3 #2281

Answered by jmklix
indjev99 asked this question in Q&A
Discussion options

You must be logged in to vote

@github-actions proposed-answer

I don't think this sdk provides the functionality that you're looking for. It starts downloading the files to memory as soon as you send the request. You could attempt to make your own stream like functionality by using the GetPartNumber when making an s3 request. API docs:

Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' GET request for the part specified. Useful for downloading just a part of an object.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@indjev99
Comment options

@jmklix
Comment options

Answer selected by jmklix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants