Multipart upload to Amazon S3 overwrites the last part

0 votes

I am doing a multipart upload with the .NET client library. The problem is that each part sent to S3 is overwriting the last part. Here's what I've got:

var fileTransferUtility = new TransferUtility(_s3Client);
var request = new TransferUtilityUploadRequest
    {
        BucketName = "mybucket",
        InputStream = stream,
        StorageClass = S3StorageClass.ReducedRedundancy,
        PartSize = stream.Length,//stream is 10,000 bytes at a time
        Key = fileName
    };

What am I doing wrong? Can someone guide me on this?

Apr 23 in Others by Kichu
• 16,850 points
19 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Others

0 votes
1 answer

How to install a GUI on Amazon AWS EC2 or EMR with the Amazon AMI

The top-level script for installing the GUI ...READ MORE

answered Mar 9 in Others by Edureka
• 8,820 points
30 views
0 votes
1 answer

How to get password of the Amazon aws rds user?

Follow these procedures to update the master ...READ MORE

answered Mar 9 in Others by Edureka
• 8,820 points
104 views
0 votes
1 answer

NodeJS Amazon AWS S3 getObject how to send file in API response to download

Server Side const aws = require('aws-sdk'); router.get('/getfilefroms3', async (req, ...READ MORE

answered Mar 24 in Others by Edureka
• 8,820 points
113 views
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers

How to disable Amazon S3 raw endpoint access

Hosting  a static website on S3 : You ...READ MORE

Apr 10 in Others by Kichu
• 16,850 points
31 views
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 58,060 points
3,181 views
–1 vote
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 58,060 points
3,482 views
0 votes
1 answer

Import my AWS credentials using python script

Using AWS Cli  Configure your IAM user then ...READ MORE

answered Nov 16, 2018 in AWS by Jino
• 5,800 points
1,874 views
0 votes
2 answers
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP