You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user I would want a download plugin that directly forwards HTTP response to a given S3 bucket without using local file system.
Chunk size, target url, source s3 bucket and key, credentials should be configurable.
Example using boto3:
withrequests.get(stream_url, stream=True, auth=auth) asresponse:
response.raise_for_status() # Raise an error for bad responses (4xx and 5xx)chunk_size=64*1024# 64kbwithresponse.rawasdata_stream:
boto3_client.upload_fileobj(data_stream, bucket, key, Config=boto3.s3.transfer.TransferConfig(multipart_threshold=chunk_size*2))
The text was updated successfully, but these errors were encountered:
As a user I would want a download plugin that directly forwards HTTP response to a given S3 bucket without using local file system.
Chunk size, target url, source s3 bucket and key, credentials should be configurable.
Example using boto3:
The text was updated successfully, but these errors were encountered: