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

WithCallbackStream is not invoked when add WithFile #1071

Open
maxwell60701 opened this issue May 11, 2024 · 1 comment
Open

WithCallbackStream is not invoked when add WithFile #1071

maxwell60701 opened this issue May 11, 2024 · 1 comment

Comments

@maxwell60701
Copy link

maxwell60701 commented May 11, 2024

var args = new GetObjectArgs() .WithBucket(bucketName) .WithObject(objectName) .WithFile(fileName) .WithCallbackStream(stream => {});
If I add WithFile method, the callback WithCallbackStream is not invoked.
I saw the source code,there is a property Callback in class GetObjectArgs has been replaced when I add WithFile method,Could I download the file and get the stream at the same time?

@Krm1t
Copy link

Krm1t commented Jun 26, 2024

@maxwell60701 You might wanna take a look at this issue i just opened.
It's a bit more broad than just GetObject but my "edit" might be the workaround that helps you for now - assuming you are running version 6.x

Edit: Apologies. I forgot to add the id.
#1114

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

2 participants