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

Download Media Files #9

Open
Levinski opened this issue Apr 5, 2024 · 0 comments
Open

Download Media Files #9

Levinski opened this issue Apr 5, 2024 · 0 comments

Comments

@Levinski
Copy link

Levinski commented Apr 5, 2024

Hello!
First of all, thank you for the initiative of this project, unfortunately the only thing missing was the following question to be able to implement it in my project.

I was able to successfully upload an mp3 file, but when downloading this file it comes with the content "Instance of 'ByteStream'", and I cannot recover the bytes.
If anyone can help me with this issue, thank you in advance for your attention.

The code I'm using to download and the response:

var files = await driveService?.getAllFiles();
var testFile = files?.first;
var download = await driveService?.downloadFile(file: testFile!);

1
2

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