I am looking to upload a very large zip file (several hundred GBs) from my remote server to my google drive using the drive api v3. I tried following a tutorial at Toward Data Science but it defers the use of resumable uploads to the drive api documentation, which isn't very beginner friendly. Other questions on this matter don't handle the file sizes I am handling. They also don't mention the issue of keeping the access-token valid for the time the file is being uploaded. I also found another SO answer during my search. However, it is again a "multi-part" upload method.
Any help would be appreciated. I am looking to automate this using a python script.
Thanks in advance!
this is PHP example but maybe help you in php Upload Like this
And you need Refresh Your access token for uploading large files like 50GB+