69

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.

3
  • 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.
    – user39655
    Commented May 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. Commented Mar 31, 2015 at 18:45
  • Same post, just in SO: stackoverflow.com/q/25010369/435605 Commented Jun 22, 2019 at 10:56

5 Answers 5

63

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.

Source.

1
11

Also, while viewing the content of zip file, you can click Ctrl+S to download the whole directory as zip file.

2
  • 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".
    – ahorn
    Commented May 23, 2020 at 10:41
  • Unfortunately, sending someone a link to a zip file (using Google's "get shareable link") results in them seeing the contents of the zip file instead of being prompted to download it. That's the entire topic of this post.
    – Oscar
    Commented Mar 9 at 10:32
9
https://drive.google.com/uc?export=download&id=YOUR_FILE_ID

Replace "YOUR_FILE_ID" for the ID of your file

1

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
1
  • 6
    confirm=no_antivirus doesn't stop the warning/prompt for scanning
    – rainabba
    Commented Dec 5, 2015 at 16:37
0

I wrote a user script for this you can install with Tampermonkey/Greasemonkey: https://greasyfork.org/en/scripts/10052-google-drive-direct-links

Not the answer you're looking for? Browse other questions tagged or ask your own question.