I need to upload my files inside specific directories that I created on my amazon s3 storage. I always uploaded the files on the \"absolute path\" of my bucket doing somethi
thank you Jeremy Lindblom, this is my python example that worked for me.
import boto3 s3 = boto3.resource('s3') data = open('/home/briansanchez/www/red-hat.jpg', 'rb') s3.Bucket('briansanchez').put_object(Key='www/red-hat.jpg', Body=data)