Published
- 1 min read
aws sdk s3 copy object bucket not found
The solution for this is noted below
aws sdk s3 copy object bucket not found
Solution
You have to specify the bucket inside the copy source
// Copy an object.
$s3->copyObject(array(
'Bucket' => $targetBucket,
'Key' => $targetKeyname,
'CopySource' => "{$sourceBucket}/{$sourceKeyname}",
));
Try other methods by searching on the site. That is if this doesn’t work