you wanna control google drive from your app. am i right ?
I generate PDF files from google forms and store them in google drive. I want to create an app to download these files
You can’t download file from Google Drive if you don’t have permission. Sharing must be turned on!
If I share the folder, Is it posible?
Yes you have to enable the link then start share… Any one can download file from it…
Sharing a folder will enable access to all files inside it.
I know how to enable the link to share the folder but how can i get the download link for the file(s) that i have in the share folder from my app ??
I don´t want to do it by this way. I want that the user type the name of the file in a textbox and press a button to automatically download the file
Then you will need to use Direct Download Link Generator for every single file.
I have hundreds of files and every day i update more is there any way to get the direct download link when the file is uploaded
Then update your link throug database with name…
Upload the File on Google Drive and then, copy the file link you want to create a direct download link for. And, use that link on your app…
Or, you can integrate Direct Download Link generator on your app… Give users ability to copy the file link he want to download… He will paste the link on a text box and click Download… App generates the link… And file gets downloaded…
This is better and easy solution.
Any idea on how to incorporate this method on my app?
I know there are websites that generate those direct links but I have no idea on how to do that in my app
To direct download use this link:
https://drive.google.com/uc?export=download&id=FILE_ID
It can be used for any GD file.
Hi @almeidapablo , Look at the link @Fabio posted! If you look at it, you can see the link will be same for every file, but the only difference is File ID.
How to do this:-
When someone enters the File Link to a text box, split the File ID and store it on a variable. And, after that join the *Common URL (That are same for every file) along with File ID. That’s all.
See this video maybe can help you
Thanks, It’s what I was looking for
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.