I am trying to browse an image from my s3 bucket. But the image is downloading instead of displaying in the browser. How can I solve this problem?
You have to pass the content_type of your file or image. For an example, if your image is in .png format then use the below-given code.
content_type = "image/png"
I hope this will help you.
1 <class 'boto.s3.key.Key'> <Key: numbers-email, staging/Procured_Numbers_Status/procured_numbers_status_2019-05-15:06:09:04.csv> I ...READ MORE
You can take a look at the ...READ MORE
If you are referring to the number of objects ...READ MORE
You can use a for loop to ...READ MORE
Check if the FTP ports are enabled ...READ MORE
To connect to EC2 instance using Filezilla, ...READ MORE
I had a similar problem with trying ...READ MORE
Here for the above mentioned IAM user ...READ MORE
You have to give permissions to your ...READ MORE
According to my knowledge, you can't edit ...READ MORE
Already have an account? Sign in.