Why is my AWS S3 object not getting deleted?
I am using php code 开发者_开发知识库to delete s3 object.
echo "filename :".$filename;
echo "bucket :".BUCKET;
$this->s3->deleteObject(BUCKET, $filename);
exit;
filename :4d51361e0b735.jpgbucket :mybucketname
Why is my s3 object not getting deleted?
Update
After checking I found that in s3fox file is getting deleted but if I see the image in browser by url it is still showing. Why is this?
If the image is just showing up on your browser, it is probably cached. Either in the browser or at a proxy.
Try CTRL-F5 (or CMD-SHIFT-R on Mac) to reload a page and skipping cache (doesn't necessarily work when it's cached at a proxy).
精彩评论