Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python upload file to s3

import boto3

s3 = boto3.resource('s3')
BUCKET = "test"

s3.Bucket(BUCKET).upload_file("your/local/file", "dump/file")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #upload #file
ADD COMMENT
Topic
Name
7+1 =