xiw xiw - 27 days ago 13
PHP Question

how to put object by an external URL to 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?

Answer

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

Comments