Thank you for actually explaining why service account method rather than googleauth method -- the description it really made my mind clear of what to choose and when to choose ------ and yeah video was great too
Fantastic. I do looks for upload file to google drive sample everywhere, all of those are in different implementation. The sample here is the most simple I think.
thanks a lot, man... It's so clear compared to the other... and I really need it for my speedtrap bachelor degree final project... welp, gotta finish it a.s.a.p.... really, thank you so much...
this was my thought as well, thank you for creating the tutorial! It is great! The problem is the following. If the owner (service account from the project we created) decides to cease to exist (i.e. deleted project), the file does not stay in the shared folder and gets deleted (since the owner was deleted). The only way to avoid this is by now having an extra couple of lines of code that change the permissions of the uploaded file to change the ownership. You would then need to go back to your main gmail account and every now and then manually accept the new ownership of the uploaded files.
Thanks, it works, but I just notice that this method only accepts file types it recognizes: jpg, png, zip, etc. When I try to upload some other types it doesn't like, it throws an "UnknownFileType" error.
service account does not upload to original drive, it use serivce account quote, it does not transfer to drive, even upload it does not use your drive quote
I am having trouble accessing a specific folder in Google Drive using the Google Drive API. I am trying to access a folder named "Reports," which is under "Shared with Me," but I can only access the root folder. Additionally, I am unable to create any directories under the "Reports" folder. What could be the reason for this issue?
Well you probably need to use controllers (Python Flask is a start) that can trigger upload method calls with whatever file. You can use Docker to create a image of your program and use Render to run the image.
I have been searching for so long but I am getting this error: ModuleNotFoundError: No module named 'google.outh2' And I cannot fix it. I ran the import you provided and I tried many other solutions online but nothing is working
Do read description on why we use JSON file instead.
I had already researched a lot and didn't find such a simple and efficient answer! It helped me a lot, thank you!!
Been trying to do this for 2 months, just did it in under 10 mins, top tier video
Thank you dude so much was working on this since 3 days now its working appreciate your work
Thank you for actually explaining why service account method rather than googleauth method -- the description it really made my mind clear of what to choose and when to choose ------ and yeah video was great too
The explanation was really clear and easy to follow. Thanks!
Fantastic. I do looks for upload file to google drive sample everywhere, all of those are in different implementation. The sample here is the most simple I think.
Thank you
super simple and to the point. thanks for this.
thanks a lot, man... It's so clear compared to the other... and I really need it for my speedtrap bachelor degree final project... welp, gotta finish it a.s.a.p.... really, thank you so much...
thank you!
good work brother
beautifully executed, thanks!
Thank you, It is very useful.
this was really helpful, thanks for sharing!
Super helpful tutorial. Really thank you !!!
this was my thought as well, thank you for creating the tutorial! It is great!
The problem is the following. If the owner (service account from the project we created) decides to cease to exist (i.e. deleted project), the file does not stay in the shared folder and gets deleted (since the owner was deleted).
The only way to avoid this is by now having an extra couple of lines of code that change the permissions of the uploaded file to change the ownership.
You would then need to go back to your main gmail account and every now and then manually accept the new ownership of the uploaded files.
Edit to say it seems like it is not possible to transfer ownership through REST API...
issuetracker.google.com/issues/228791253
Fast and clear
You are a life saver, Thanks.
I made some changes and now I can upload an entire folder. Next I'll be sorting the files by extension and upload they to their respective folders
Good work! Thank you
Super 🎉
THS easy to understand video
amazing work man, thanks alot.
great video. it worked in 5 minutes
thank you
Thanks a lot bro.
Thank you very very much!!! 👍👍👍👍👍👍👍👍
Thanks for saving my life
appreciate it
thanks
Thanks for the video! Do you have a video with the download to Google Drive w/Python?
Thanks, it works, but I just notice that this method only accepts file types it recognizes: jpg, png, zip, etc. When I try to upload some other types it doesn't like, it throws an "UnknownFileType" error.
Great!
thx very sweet
100th Like by me , Thanks 👍👍
In video it shows after upload file, it does not consume any storage of allocated account
Nice work sir, but I always got this error saying
ModuleNotFoundError: No module named 'googleapiclient'
Though i have used my folder id in the code, I am seeing the file is getting uploaded to another folder id which i don't have access
service account does not upload to original drive, it use serivce account quote, it does not transfer to drive, even upload it does not use your drive quote
Uploading works fine but I need to update the existing file using a service account... How do I do it...Please help
How can it possible, even upload 100 MB via service account, it does not consume any bytes, it keep shows 0 bytes used
Thanks alot
thanks, really helpful. do you have any example of how to upload using OAuth 2.0 Client IDs for android app?
I want to ask about the service_account.json file
I am having trouble accessing a specific folder in Google Drive using the Google Drive API. I am trying to access a folder named "Reports," which is under "Shared with Me," but I can only access the root folder. Additionally, I am unable to create any directories under the "Reports" folder. What could be the reason for this issue?
What if it is a google sheet type of file that u scrap from gmail attachment that u need to upload to drive, how would u do that?
I'm getting an - Object of type set is not JSON serializable - error , is there an update to this code?
Anyone know what theme this is in VSCode?
It worked, but how do i run it like a server 24/7 without the use of vscode?
Well you probably need to use controllers (Python Flask is a start) that can trigger upload method calls with whatever file.
You can use Docker to create a image of your program and use Render to run the image.
will you please share the code link
link in the description is not accessable
drive.google.com/file/d/148kyalwfR3kEZWxv8mLWTTsD_qseLapZ/view?usp=drive_link
if i run this offen i get 403 error
Hi, how could you download files?
can we get shareable link?
Me ajudou.
I have been searching for so long but I am getting this error:
ModuleNotFoundError: No module named 'google.outh2'
And I cannot fix it. I ran the import you provided and I tried many other solutions online but nothing is working
You have to pip install it first
pip install --upgrade google-auth