-
Notifications
You must be signed in to change notification settings - Fork 148
AWS S3 PUT Request Question #45
Comments
@gavinwilliams Is there any update on this issue? |
I'm having the same problem. |
I've merged in evoL#1 as well as my own #46 and I now have a working version for PUT requests in my own branch 2.2: https://github.com/dmzza/AFAmazonS3Client/tree/2.2 To use my branch with CocoaPods:
|
@dmzza Does your version work work with AFNetworking 2.2.x? |
It was working on AFNetworking 2.1.0, and then I just updated it with CocoaPods to 2.3.0, and it still works. So I assume it works with 2.2.x as well. |
@dmzza What are the correct headers to use for AFAmazonS3Manager because I'm seeing symbol errors when setting both region and bucket? |
This is what I'm using:
Although I shouldn't need |
@dmzza Awesome!!!! I'm guessing the you're importing: #import <AFAmazonS3RequestSerializer.h>
#import <AFAmazonS3Manager.h> |
I'm only importing this:
That file imports the RequestSerializer. |
@dmzza Yes, I'm using the same header now after I looked at the headers for the framework. Next, it may be a good idea to update the README with header information as well as which how to set both the bucket and region. Thus, I'll submit a pull request today with these modifications. |
I've literally spent the last 3 - 4 hours trying to do what should have been the simplest of tasks using AFAmazonS3Client.
When I use
postObjectWithFile
AWS S3 responds that POST isn't a supported method. When I switch over toputObjectWithFile
the file is uploaded but isn't recognised as AFAmazonS3Client prepends the multipart data to the file.I'll be honest, writing a digital SLR remote app today using a poorly documented Canon SDK has been less frustrating than using AFAmazonS3Client.
The text was updated successfully, but these errors were encountered: