Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kejyun/3235296 to your computer and use it in GitHub Desktop.
Save kejyun/3235296 to your computer and use it in GitHub Desktop.
刪除AWS容器指定檔案
<?php
/*
* 刪除容器指定檔案
*/
$bucket = "kejyun-test"; //容器名稱
$filepath = "/S3.txt";
$s3 = new AmazonS3();
$response = $s3->delete_object($bucket,$filepath);
print_r($response);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment