📜  未找到 aws sdk s3 复制对象存储桶 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:46.392000             🧑  作者: Mango

代码示例1
You have to specify the bucket inside the copy source

// Copy an object.
$s3->copyObject(array(
    'Bucket'     => $targetBucket,
    'Key'        => $targetKeyname,
    'CopySource' => "{$sourceBucket}/{$sourceKeyname}",
));