Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

boto3 upload file to s3

import boto3
s3 = boto3.resource('s3')
s3.meta.client.upload_file('/tmp/hello.txt', 'mybucket', 'hello.txt')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #upload #file
ADD COMMENT
Topic
Name
3+6 =