Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to put object by an external URL to amazon s3

Tags:

php

amazon-s3

With PHP

how to put object by an external URL to amazon s3?

So suppose I had a URL: http://example.com/file.avi I want to be able to move it into my bucket without downloading the file to my desktop and re-uploading the file. Is this possible?

like image 708
xiw Avatar asked Jan 18 '13 08:01

xiw


1 Answers

S3 only supports copying objects from another S3 bucket, or uploading of local files. It is not possible to upload a resource located at an external URL. See here for more details: Put Object from remote resource in Amazon S3

like image 155
humbads Avatar answered Oct 13 '22 11:10

humbads