Skip to content

Instantly share code, notes, and snippets.

@r--w
Last active August 29, 2015 14:14
Show Gist options
  • Save r--w/bb384f08a443fffd35ae to your computer and use it in GitHub Desktop.
Save r--w/bb384f08a443fffd35ae to your computer and use it in GitHub Desktop.
e24cloud
$s3 = \Aws\S3\S3Client::factory([
"version" => "latest",
"key" => "c0e2xxxxxxxxxxxxxxxx",
"secret" => "fpZ1Rxxxxxxxxxxxxxxxx",
"base_url" => "https://e24files.com",
]);
$objects = $s3->getIterator('ListObjects', ["Bucket" => "d3j9939jdjsskdk430sa", "PathStyle" => true]);
foreach ($objects as $o) {
var_dump($o["Key"]);
}
@r--w
Copy link
Author

r--w commented Jan 29, 2015

Error executing Aws\S3\S3Client::listObjects() on "https://e24files.com/%7BBucket%7D"; Not a valid S3 endpoint: https://e24files.com/%7BBucket%7D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment