Skip to content

Instantly share code, notes, and snippets.

@setu1421
Last active April 6, 2019 07:19
Show Gist options
  • Save setu1421/61f24898b5ccfe6232186ad66029e8c5 to your computer and use it in GitHub Desktop.
Save setu1421/61f24898b5ccfe6232186ad66029e8c5 to your computer and use it in GitHub Desktop.
Build and send a multi upload request
//Step 1: build and send a multi upload request
if (chunkIndex == 0)
{
var initiateRequest = new InitiateMultipartUploadRequest
{
BucketName = bucketName,
Key = fileName
};
var initResponse = _s3Client.InitiateMultipartUpload(initiateRequest);
uploadId = initResponse.UploadId;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment