Uploading to S3, how can I tell if it was a successful transfer?

Question:

Im uploading some images to S3, how can I check if it was a successful transfer?

Here is my code. I screw up the access key on purpose so the files do not upload, how can I catch this error and act upon it?

The code below does not catch anything, even though the images fail to upload.

Im using php sdk 3.0

Answer:

I am also using PHP SDK 3.0 and was able to get the result of the upload using the following:

Leave a Reply