2 回答
TA贡献1803条经验 获得超3个赞
如果其他人也有同样的错误,我完全更改了代码并使用了这个解决方案:https : //github.com/aws/aws-sdk-net/issues/562
TA贡献2041条经验 获得超4个赞
你可以像这样启动它:
s3Client = new AmazonS3Client(BUCKETREGION);
var initiateRequest = new InitiateMultipartUploadRequest { BucketName = BUCKET, Key = KEY };
await s3Client.InitiateMultipartUploadAsync(initiateRequest).ContinueWith(response =>
{
if (!string.IsNullOrEmpty(response.Result.UploadId))
{
uploadId = response.Result.UploadId;
}
else
{
Debug.WriteLine(response.Exception);
}
});
- 2 回答
- 0 关注
- 333 浏览
添加回答
举报