Last active
April 6, 2019 07:19
-
-
Save setu1421/61f24898b5ccfe6232186ad66029e8c5 to your computer and use it in GitHub Desktop.
Build and send a multi upload request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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