29

Possible Duplicate:
In Google Drive, how can you link directly to “Download” a zip file and not view the contents?

I want to store several files on Google Drive that later will need to be downloaded without authorization by some automated tool (for example filters for adblock so several different PCs can update from them). Is it possible to generate direct download link for file on Google Drive that would work without authorization?

0

2 Answers 2

31

If you want to link to a file at Google Docs for direct download you can use the following address scheme: https://docs.google.com/uc?export=download&id=YourIndividualID

More information here.

5
  • 2
    Yeah it works great! Obviously you have to mark it as public.
    – Josh M.
    Mar 14, 2013 at 22:03
  • 6
    Also works with drive domain name: https://drive.google.com/uc?export=download&id=YourFileID
    – Stéphane
    May 23, 2019 at 9:56
  • If you want, I’ve just launched a small chrome extension to get this link directly from Google drive interface. Feel free to have a look: chrome.google.com/webstore/detail/drive-direct-download/… Aug 14, 2020 at 15:16
  • @AlexisClarembeau is this open source? if so, can you provide the repo location? I'd feel more comfortable installing it if I could see the code.
    – Issa Fram
    Jan 8, 2021 at 2:25
  • 1
    This doesn't seem to work anymore, I am getting a 404. Nov 11, 2021 at 16:27
5

You can actually set view/edit permissions to any e-mail address by clicking the Share-button in the upper right but the persons who gets the permissions will have to create a new Google account or sign in with an existing Google account use the document.

Alternatively, you can set the document to be viewed and edited by anyone who has the link to the document (no sign-in required), email the link to the particular email address and request them to not share the link with anyone else.

You can see the screenshots below:

enter image description here

Then, Click on the "Change" button:

enter image description here

Now, select the setting as shown in this screen shot and click on "Save":

enter image description here

Now, Copy the links as shown in the screen shot below and share it with anyone you want through email. Do not forget to click on the "Done" button:

enter image description here

2
  • 3
    Tried that, exatly that. Simply does not work. curl downloads some html, w3m just shows a link to some login. No file.
    – Tino
    Oct 13, 2016 at 17:41
  • 1
    does not work tried doing a wget on sharable link ... fails Jun 4, 2018 at 17:30

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