존재 않을 경우 false를 반환 계속 :AWSSDK S3 if_object_exists 파일 내가 현재 다음과 같은 코드를 사용하고
include 'lib/sdk.class.php';
$s3 = new AmazonS3();
$bucket = 'mybucket'.strtolower($s3->key);
$key = 'myfile.txt';
$response = $s3->if_object_exists($bucket,$key);
을하지만 $response
파일이 존재하는 경우 다시 거짓 앞으로 계속, 내가 부족 뭔가가있다?
이 솔루션은 나를 위해 일하지만 너무 모릅니다. –