AWS iOS: How to resume a multipart upload
===

Based on this sample http://aws.amazon.com/articles/0006282245644577, it is clear how to use multipart upload using the AWS iOS SDK. However, it seems that my uploads are not stitched together correctly when I try to resume an interrupted upload.

I use the code below to resume an upload. Is this the correct way to set the upload id of a multipart upload?

    S3InitiateMultipartUploadRequest *initiateRequest = [[S3InitiateMultipartUploadRequest alloc] initWithKey:key inBucket:bucketName];
    S3InitiateMultipartUploadResponse *initiateResponse = [self.amazonS3Client initiateMultipartUpload:initiateRequest];
    self.multipartUpload = [initiateResponse multipartUpload];
                
    // Set upload id to resume upload
    self.multipartUpload.uploadId = uploadId;

I'd appreciate any help or pointers.
