Upload to Google Drive w/Python - Free Easy Cloud Storage System, Deployable Code 2023

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025
  • ИгрыИгры

Комментарии • 61

  • @shanmugamudhaya7726
    @shanmugamudhaya7726  Год назад +1

    Do read description on why we use JSON file instead.

  • @TIMELAPSEGSR
    @TIMELAPSEGSR Год назад +8

    I had already researched a lot and didn't find such a simple and efficient answer! It helped me a lot, thank you!!

  • @thatyoutubeguy2433
    @thatyoutubeguy2433 9 месяцев назад +2

    Been trying to do this for 2 months, just did it in under 10 mins, top tier video

  • @SahilNegi2004
    @SahilNegi2004 11 месяцев назад

    Thank you dude so much was working on this since 3 days now its working appreciate your work

  • @theanonymous92
    @theanonymous92 7 месяцев назад

    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

  • @wearefiresidesessions
    @wearefiresidesessions 8 месяцев назад

    The explanation was really clear and easy to follow. Thanks!

  • @村人A-d5h
    @村人A-d5h Год назад

    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.

  • @fahnub
    @fahnub 7 месяцев назад

    super simple and to the point. thanks for this.

  • @orphaeel
    @orphaeel Год назад

    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...

  • @smartaitechnologies7612
    @smartaitechnologies7612 10 дней назад

    good work brother

  • @Rulzan
    @Rulzan 9 месяцев назад

    beautifully executed, thanks!

  • @sanazkhalili4698
    @sanazkhalili4698 5 месяцев назад

    Thank you, It is very useful.

  • @yourXface1000
    @yourXface1000 11 месяцев назад

    this was really helpful, thanks for sharing!

  • @hongkyulee9724
    @hongkyulee9724 10 месяцев назад

    Super helpful tutorial. Really thank you !!!

  • @Gritaremos
    @Gritaremos Год назад

    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.

    • @Gritaremos
      @Gritaremos Год назад

      Edit to say it seems like it is not possible to transfer ownership through REST API...
      issuetracker.google.com/issues/228791253

  • @kaiwang2924
    @kaiwang2924 4 месяца назад

    Fast and clear

  • @omarrandoms4157
    @omarrandoms4157 9 месяцев назад

    You are a life saver, Thanks.

  • @JerryA189
    @JerryA189 11 месяцев назад

    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

  • @andyd170
    @andyd170 11 месяцев назад

    Good work! Thank you

  • @illikkal
    @illikkal Месяц назад

    Super 🎉

  • @CDowgVA
    @CDowgVA 6 месяцев назад

    THS easy to understand video

  • @Jinay-mi1ri
    @Jinay-mi1ri 7 месяцев назад

    amazing work man, thanks alot.

  • @clemenshuber6689
    @clemenshuber6689 Год назад

    great video. it worked in 5 minutes

  • @subash682
    @subash682 11 месяцев назад

    Thanks a lot bro.

  • @pythonandjs6380
    @pythonandjs6380 Год назад

    Thank you very very much!!! 👍👍👍👍👍👍👍👍

  • @tohmingjundynp
    @tohmingjundynp 10 месяцев назад

    Thanks for saving my life

  • @sherdykat8578
    @sherdykat8578 4 месяца назад

    thanks

  • @annasc8280
    @annasc8280 8 месяцев назад

    Thanks for the video! Do you have a video with the download to Google Drive w/Python?

  • @brokenfix
    @brokenfix 11 месяцев назад

    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.

  • @ci16
    @ci16 Год назад

    Great!

  • @tunahanada6116
    @tunahanada6116 Год назад

    thx very sweet

  • @taroon-7
    @taroon-7 11 месяцев назад

    100th Like by me , Thanks 👍👍

  • @SnippetBucketTechnologies
    @SnippetBucketTechnologies Год назад

    In video it shows after upload file, it does not consume any storage of allocated account

  • @abcxyz1360
    @abcxyz1360 4 месяца назад

    Nice work sir, but I always got this error saying
    ModuleNotFoundError: No module named 'googleapiclient'

  • @souravmaharana7665
    @souravmaharana7665 8 месяцев назад

    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

  • @SnippetBucketTechnologies
    @SnippetBucketTechnologies Год назад

    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

  • @hashilmuhammed7680
    @hashilmuhammed7680 7 месяцев назад

    Uploading works fine but I need to update the existing file using a service account... How do I do it...Please help

  • @SnippetBucketTechnologies
    @SnippetBucketTechnologies Год назад

    How can it possible, even upload 100 MB via service account, it does not consume any bytes, it keep shows 0 bytes used

  • @BCS_ArshAliKhan
    @BCS_ArshAliKhan Год назад

    Thanks alot

  • @pips92
    @pips92 Год назад

    thanks, really helpful. do you have any example of how to upload using OAuth 2.0 Client IDs for android app?

  • @nguyetthu8118
    @nguyetthu8118 11 месяцев назад +1

    I want to ask about the service_account.json file

  • @upendrareddybade5118
    @upendrareddybade5118 6 месяцев назад

    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?

  • @yongweisu
    @yongweisu 9 месяцев назад

    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?

  • @ralphyoungs9015
    @ralphyoungs9015 7 месяцев назад

    I'm getting an - Object of type set is not JSON serializable - error , is there an update to this code?

  • @NoahGampe
    @NoahGampe 3 месяца назад

    Anyone know what theme this is in VSCode?

  • @archive1257
    @archive1257 6 месяцев назад

    It worked, but how do i run it like a server 24/7 without the use of vscode?

    • @shanmugamudhaya7726
      @shanmugamudhaya7726  6 месяцев назад

      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.

  • @MaheshKhalangre
    @MaheshKhalangre 6 месяцев назад

    will you please share the code link
    link in the description is not accessable

    • @shanmugamudhaya7726
      @shanmugamudhaya7726  6 месяцев назад

      drive.google.com/file/d/148kyalwfR3kEZWxv8mLWTTsD_qseLapZ/view?usp=drive_link

  • @mohammedkafil2975
    @mohammedkafil2975 Год назад

    if i run this offen i get 403 error

  • @joseignaciobernalizaguirre6038

    Hi, how could you download files?

  • @adammahfoud-c2v
    @adammahfoud-c2v Год назад

    can we get shareable link?

  • @guilherme2.06
    @guilherme2.06 11 месяцев назад

    Me ajudou.

  • @AdelKatergi
    @AdelKatergi Год назад

    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