2 回答

TA貢獻(xiàn)1803條經(jīng)驗(yàn) 獲得超3個贊
如果其他人也有同樣的錯誤,我完全更改了代碼并使用了這個解決方案:https : //github.com/aws/aws-sdk-net/issues/562

TA貢獻(xiàn)2041條經(jīng)驗(yàn) 獲得超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 關(guān)注
- 372 瀏覽
添加回答
舉報(bào)