deleteObject retrun true when even the file is not deleted
aamirdx opened this issue · 1 comments
aamirdx commented
I am using this method to delete a file but it always return true ("Delete successfully") even file is not exist on S3
if ($s3->deleteObject($bucketName, baseName($uploadFile))) {
echo "Delete successfully";
}else{
echo "Fail to delete";
}
tpyo commented
Sorry for the late response. The successful response is what is included in the API response, so not really related to the library.