Answers for "upload a file to s3"

1

boto3 upload file to s3

import boto3
s3 = boto3.resource('s3')
s3.meta.client.upload_file('/tmp/hello.txt', 'mybucket', 'hello.txt')
Posted by: Guest on June-24-2020
0

upload to aws

aws s3 cp /css/ s3://yourbucketname/css/ --recursive
Posted by: Guest on January-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language