I'm trying to copy some files from bucket to another i checked the amazon s3 aws console the file exist with the correct key i tried to use getObject and it's return the object without errors.
$obj = $this->__s3->getObject(array(
'Bucket' => 'tme.project.mi',
'Key' => '329/42329.jpg',
));
this return the object correctly
$this->__s3->copyObject(array(
'Bucket' => 'tme.project.mi',
'Key' => '329/42329.jpg',
'CopySource' => "tme.project/{$data->id}/{$media->id}.{$media->ext}",
));
this return exception error "The specified key does not exist."
Aucun commentaire:
Enregistrer un commentaire