Answer the question
In order to leave comments, you need to log in
What is the best way to transfer an image from one resource to an AWS S3 bucket?
There are url images. What would be the optimal algorithm to take this picture from the resource and place it in the AWS s3 bucket?
So far I see a solution:
Answer the question
In order to leave comments, you need to log in
Yes, it is possible to get a short-term active spin link for S3 and give it to the client. The client will upload it there himself. notify the server about it. Well, or on s3, set up an event in lambda for post-processing the fact of loading. Depends on what and how we upload
You can put something like this on your knee:
wget http://<URL/to/picture> /<temporary/path/picture>
aws s3 mv /<temporary/path/picture> s3://<bucketName>/<path/picture>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question