Questions tagged as 's3'

2
answers

How to force the download of an object from an AWS bucket S3 with PHP?

I know how to upload an object to the AWS S3 Bucket this way: try { $oClientAws->putObject(array( 'Bucket' => 'bucket_test', 'Key' => 'fileName.jpg', 'Body' => fopen('path/to/file/fileName.jpg', 'r'...
asked by 25.06.2015 / 22:52
2
answers

Instantiate an object throughout the Java application life cycle

I have an application here in Java that uses the Amazon SDK to send images to an S3 bucket. To do this I use threads, basically it is modeled as follows: The Mai n class has a list of threads and each list item is sent to an Executi...
asked by 29.09.2017 / 14:51
1
answer

How to Transform a Bitmap into java.io.file to send to Amazon S3

I'm having trouble sending a Bitmap to Amazon S3 using the amazon S3's own SDK. To send something to Amazon S3 you need to be a file, such as transforming Bitmap into java.io.file to be able to send through TransferObs...
asked by 14.12.2015 / 18:38
1
answer

Best practices for storing images in Amazon S3 and saving in MySQL

I'm modeling a database, however I'm in doubt as to how I'll handle this part of saving the image in Amazon S3 and referencing it easily in the database. I want to save the URL of the image (hosted on Amazon S3) in a field called "image_url"...
asked by 24.10.2015 / 14:29
1
answer

Downloading multiple Amazon S3 files

Situation I have hundreds (and even thousands) of small files (~ 50KB) in Amazon S3 separated into buckets per day. Problem I need to download through my Java application delivering to the front end of all files for a given period. My m...
asked by 06.06.2018 / 19:00
1
answer

Django collectstatic AWS S3

I have a question regarding collectstatic . I'm using Amazon Free Tier and realized that I've exceeded the S3 PUT usage limit because I made several collectstatic . I was developing one day in the Amazon environment due to laziness a...
asked by 13.07.2017 / 21:57
0
answers

Upload photo Api Rest nodejs [closed]

I'm developing a restful api with nodejs and mongodb. And I am creating an endpoint for user registration, but I would like to send a photo at the time of registration. Which of the three solutions would be best? An S3 * amazon, I send a...
asked by 08.02.2016 / 21:41
1
answer

AWS S3 Disabling support for SSLv3

I received an email from AWS that says basically that S3 will no longer support SSLv3. So they listed the list of buckets that are receiving requests in SSLv3 and one of my buckets is production. The full email can be viewed here: link M...
asked by 24.04.2015 / 21:38
2
answers

Django collectstatic does not update modified files in s3

I'm using Django 1.10.6 , followed this tutorial to set up media and staticfiles on s3 and when squeeze collectstatic , files are not updated. p>     
asked by 16.05.2017 / 17:56
1
answer

Send image generated by PHP (GD) to Amazon S3

I have the following code to send an image up in my S3 bucket: // Send.class.php public function sendFile($file, $file_name) { try { $s3 -> putObject([ "Bucket" => "mybucket", "Key" => "image/".$fil...
asked by 02.12.2016 / 03:37