Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Get Bucket() Works, but uploading images to S3 Bucket not working? #1

Open
kumanan-c opened this issue Apr 7, 2014 · 3 comments

Comments

@kumanan-c
Copy link

it works.
$s3->getBucket("my-image-bucket-name-here");
But,
$s3->putObjectFile($buffer, "my-image-bucket-name-here", $filename, S3::ACL_PUBLIC_READ);
not working, it shows "wrong24" which means image not uploading to S3 box using openx.

thanks in advance.

@kumanan-c
Copy link
Author

do i need to specify cloud front path for the image bucket ?
like "xxxyyyzzz.cloudfront.net"

@wassemgtk
Copy link
Owner

Yes You need to do it as full path, let me know if you need any help!

@kumanan-c
Copy link
Author

Hi Waseem,
Still i am getting problem to upload image, still putObjectFile() returns false, and 'wrong24' message always showing.

Cloud front url is: c15djqybbexxxx.cloudfront.net
Bucket name is : 'my-test-image-bucket'

My query is:
$s3->putObjectFile($buffer, 'c15djqybbexxxx.cloudfront.net', $filename, S3::ACL_PUBLIC_READ);

which one i should mention on the putObjectFile method second param?

Thanks for your support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants