How to create Direct link to Google Drive File or Folder. So that instead of opening in preview window, the file should be downloaded directly. Please Help!
-
1Welcome. Please add a brief description of your search/research efforts as is suggested in How to Ask.– Rubén - Volunteer Moderator - ♦Commented May 20, 2020 at 16:57
-
Related webapps.stackexchange.com/q/30654/88163– Rubén - Volunteer Moderator - ♦Commented May 21, 2020 at 1:32
-
Does this answer your question? In Google Drive, how can you link directly to "Download" a zip file and not view the contents?– ahornCommented May 23, 2020 at 10:42
3 Answers
Creating direct links to google drive file is very using the File Sharing options. Google Drive itself gives you a option to create shared option but like you said they open in a preview window instead of downloading it directly.
Just Follow these steps:-
- Open Google drive & Select the desired file to create direct link.
- Now Right Click on it & Select Share.
- Now your shared URL will be generated. So Click on Get Link.
- Now the main step to convert the shared Url to Direct Download link.
- For this you can use the Link Generator mentioned in the above link.
Thanks. Hope it helps!
-
I'm downvoting this answer because it doesn't give the answer. It just links to a website that gives the answer. I'm upvoting Ian Hyzy's answer, because he gives the actual information we're looking for.– ahornCommented May 23, 2020 at 10:39
You can use the following URL format to download a file directly:
https://drive.google.com/uc?export=download&id=[YOUR FILE ID]
-
This doesn't seem to work anymore, I am getting a 404 when trying to download an excel file. Commented Nov 11, 2021 at 16:30
-
@FilipeCorreia I just tried it with a .jpg in my account and it worked but it failed with a sheets file. For Office/Google file types I think you have to specify additional parameters; I tried with
?format=xlsx
as well but it still failed, I'm not sure what else it wants.– Ian HyzyCommented Nov 11, 2021 at 21:24
you should try this https://pixelplayz1887.github.io/Google-Drive-Direct-Link-Generator/ you can generate direct link for files above 100 MB with this
-
1While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review Commented Jul 14, 2022 at 13:44