Python – Boto3 – Upload to S3

Get Dynamics CRM Organisation ID to manage AD groups
April 25, 2017

Python – Boto3 – Upload to S3

Here’s how you upload a file into S3 using Python and Boto3. If you wanted to upload a whole folder, specify the path and loop through each file. Set the key to the the name of the file etc.

So after a bit of the gym and thinking about how poor the above code is.. I modified it slightly..

Jason
Jason
Microsoft Dynamics CRM 2011 Subject Matter Expert (Fully certified, including Sure Step, excluding Extending)