1

I'm using pydrive for a web app, where users add documents from their own drive to the app and other users can download those documents, I was able to do all authentication and get each added document file metadata

At first I used downloadUrl attribute to let user download it, but it's apparently short lived and expires, when users try to download it they get a blank page , I do too, but I didn't have this issue when I first got the url, it's after around 2 days from getting that url .

I would like to know how can I get a permanent public link for download, that other users can use to download added documents please . Is there any work-around for this ?

Kara
  • 6,115
  • 16
  • 50
  • 57
Souames
  • 1,115
  • 3
  • 11
  • 22
  • maybe try calling `GetChanges()` on the `GoogleDriveFile` object to see if the download url is updated? If just updating the url periodically is an option. – avigil Jun 01 '18 at 16:58

0 Answers0