question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GetObjectAsync Unable to download

See original GitHub issue

MinIO version 4.0.1 Server version [RELEASE.2022-03-14T18-25-24Z] Test platform windows11

var minio = new MinioClient()
                    .WithEndpoint("127.0.0.1:9000")
                    .WithCredentials("OPC4QW24VI68GQ12WHRA", "ERna5+bktNqxzxCfCt+g+DgSA1MjXlEWFfIDon6S")
                    .Build();
var getListBuckets = await minio.ListBucketsAsync();
var bucketName = "media";
var objectName = "test.txt";
var filePath = "D:\\test.txt";
var args = new GetObjectArgs().WithBucket(bucketName).WithObject(objectName).WithFile(filePath);
var stat = await minio.GetObjectAsync(args);

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:8

github_iconTop GitHub Comments

1reaction
ebozdumancommented, Mar 25, 2022

I saw the issue @zsenmiao. Working on the fix.

1reaction
zsenmiaocommented, Mar 17, 2022

MinIO version 3.1.13 Server version [RELEASE.2022-03-14T18-25-24Z] Test platform windows11

but version 3.1.13 It’s work

var minio = new MinioClient("127.0.0.1:9000", "OPC4QW24VI68GQ12WHRA", "ERna5+bktNqxzxCfCt+g+DgSA1MjXlEWFfIDon6S");
var getListBuckets = await minio.ListBucketsAsync();
var bucketName = "media";
var objectName = "test.txt";
var filePath = "D:\\test.txt";
await minio.GetObjectAsync(bucketName, objectName, filePath);
Read more comments on GitHub >

github_iconTop Results From Across the Web

GetObjectAsync fails with SDK tag 1.7.144 · Issue #1207
No errors are detected but the file fails to download. Here is a snippet of the code i am running. ... The callback...
Read more >
c# - Downloading objects from Amazon S3 using AWS SDK
I have a . Net Core 3.1 Web API which downloads an object (a PDF) from Amazon S3 to disk, using the AWS...
Read more >
Downloading an object - Amazon Simple Storage Service
This section explains how to download objects from an S3 bucket. ... getObject() method, providing the bucket name and object key in the...
Read more >
Downloading objects from Amazon S3 using AWS SDK
I have a .net web API that downloads objects from Amazon S3 to the disk using AWS SDK lib. using Amazon.S3;. using Amazon.S3....
Read more >
AWS Access Denied when download file from bucket
I am using Amazon Web Services Activities to download some files from ... For Each Object in Bucket: Failed to get s3 object:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found