Closed daverogers closed 10 years ago
Have you added the GET parameters (upload, uploadId, partNumber) here: https://github.com/tpyo/amazon-s3-php-class/blob/master/S3.php#L2107 ?
If you can create a pull request I can have a look, I have a good idea of what needs to happen for this.
I switched to Amazon's SDK, so I removed this class (and any work I had done to it).
When initiating an upload (which is what I was trying to do here) all you're really doing is giving them the key of the file you want to multipart upload and they send back an upload ID. THEN that is appended to putObject with the uploadID as you noted. I couldn't get an upload ID back. I read others having the same issues and no resolution, so I just switched to their SDK.
How to getting the ID
See: "I couldn't get an upload ID back. I read others having the same issues and no resolution, so I just switched to their SDK."
From Amazon's REST API, supporting multipart uploads SHOULD work. I created a method called postObject() whose sole purpose is to initiate an upload (http://goo.gl/8QoNFI) and get the returned upload ID, which could be used in putObject() when uploading parts (http://goo.gl/f1d0QB). To keep it simple, I'm not doing anything but the bare requirements (no encryption, no meta data, etc)
Response:
cURL info:
Thoughts on what is going wrong?
Additional info: