Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I get version id of uploaded file? #804

Open
fengccp opened this issue Jul 21, 2023 · 0 comments
Open

How can I get version id of uploaded file? #804

fengccp opened this issue Jul 21, 2023 · 0 comments

Comments

@fengccp
Copy link

fengccp commented Jul 21, 2023

Description

I am writing to report an issue that I am experiencing with the uploaded file version ID. I am unable to retrieve the versionId and currently only have access to the Etag, ObjectName, and Size. Could you please provide me with instructions on how to obtain the version ID?

var response = await this.minioClient.PutObjectAsync(
  new PutObjectArgs()
          .WithBucket(this.bucket)
          .WithObject(fileName)
          .WithObjectSize(stream.Length)
          .WithStreamData(stream)
          .WithContentType(contentType));

Thank you for your time and assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant