Answers for "upload folder to s3 bucket python"

0

upload folder to s3 bucket python

def uploadDirectory(path,bucketname):
        for root,dirs,files in os.walk(path):
            for file in files:
                s3C.upload_file(os.path.join(root,file),bucketname,file)
Posted by: Guest on April-26-2022

Code answers related to "upload folder to s3 bucket python"

Python Answers by Framework

Browse Popular Code Answers by Language