When you share a Zip file in Google Drive, you land on a page to view all the files inside the zip file and to download the entire file the user has to click File → Download. I've noticed a lot of users don't get this so I actually have to tell them to click File → Download when all I really want to do is give them a link to directly download the file.
-
I found out that for some reason, the direct link works only on the current file version. If I update the zip files and upload it again to Google Drive, with the same name, the direct link I have created before goes to the old version of the file and not the new file. So I have to create a new direct link, which doesn't help so much.– user39655May 7, 2013 at 9:57
-
1@user39655 - I have minimal experience with Google Drive so I don't know if it would work, but couldn't you share a folder, then whatever files and file-versions you put into the folder would be shared.– Kevin FeganMar 31, 2015 at 18:45
-
Same post, just in SO: stackoverflow.com/q/25010369/435605– AlikElzin-kilakaJun 22, 2019 at 10:56
5 Answers
For the moment, you have to build the URL manually.
https://docs.google.com/uc?export=download&id=YourIndividualID
Where YourIndividualID
is the ID of the respective document (zip file). You get it either from the URL or by clicking File → Share and copying it from the sharing URL.
-
1I do this quite a bit so created a Google sheet that I can paste the original sharing link into so it can pull out the ID then creates the new direct download link.– DennisAug 14, 2015 at 20:37
-
2It's kind of hack way, i worry it will not work in future. Is there any official way to do that– JackyNov 17, 2016 at 23:50
-
5
-
2
-
1The article Share Direct Links to Files in Google Drive and Skip the Web Viewer shares a bit more information about how to construct the URL correctly.– SensefulMar 7, 2019 at 20:16
Also, while viewing the content of zip file, you can click Ctrl+S to download the whole directory as zip file.
-
How does one "view the contents of a zip file" in Google Drive? I think you meant to say "view the contents of a folder".– ahornMay 23, 2020 at 10:41
https://drive.google.com/uc?export=download&id=YOUR_FILE_ID
Replace "YOUR_FILE_ID" for the ID of your file
This is also a good link:
https://drive.google.com/uc?export=download&confirm=no_antivirus&id=XXXXXXXXX
with antivirus inactive, and you can download files of any size.
Just replace the xxxxx by the file ID that you get when sharing a file:
https://drive.google.com/uc?export=download&confirm=no_antivirus&id=0BzAzYuV51kTzRkt4bEpIZ3UwX3c
-
6
I wrote a user script for this you can install with Tampermonkey/Greasemonkey: https://greasyfork.org/en/scripts/10052-google-drive-direct-links