23 August 2012

Direct link to shared Google Drive file



Dropbox has the nice feature of creating a direct link to the file you own so you can share it. You can do the same thing in Google Drive, although it does not have it in the interface (yet?).
Go to the Sharing settings of the file(s) you want to share, take note of the id query string option of the link and change access of the file to Public.



In this example it gives you the Share link:
https://docs.google.com/open?id=0B95CUi8nhCUUcmpBeU1hMUNvNlU
or
https://docs.google.com/file/d/0B95CUi8nhCUUcmpBeU1hMUNvNlU/edit?usp=sharing

The direct link to open file directly would be:
https://drive.google.com/uc?export=&id=0B95CUi8nhCUUcmpBeU1hMUNvNlU

And a direct link for a "save as" dialog would be:
https://drive.google.com/uc?export=download&id=0B95CUi8nhCUUcmpBeU1hMUNvNlU

Or... you can paste it here in the direct linker 3000 :), also works with dropbox:

Save As     Google AV test     Http
Paste your link above.

I do not know how much official support this has from Google but I'm guessing none. If that's true I suggest you use it (or not) accordingly...


15 comments:

  1. With "no_antivirus" command you choose to not-scan file with Anti-Virus before downloading, removing "no_antivirus" command you choose to scan file before downloading, but large files cant be scaned by Google AV.

    ReplyDelete
    Replies
    1. This is the only way to create direct download link to a file on Google Drive . This is a free download link of a tool which is provided by the google to create direct download link

      Delete
  2. Also, guys you can replace HTTPS (Secure) with simple HTTP if you need, it will still works.

    ReplyDelete
    Replies
    1. Thanks, i changed the javascript case anyone decides to use it.

      Delete
  3. This is very helpful, thanks for posting!

    ReplyDelete
  4. You welcome, glad you liked it!
    Added a single click copy to clipboard button and dropbox linking.

    ReplyDelete
  5. Replies
    1. OK thank you for the info. Google probably removed that because of abuse...

      Delete
  6. Thank you very much man! Really helpful :)

    ReplyDelete
  7. cheers - worked for kodi iptv chanel list m3u file shared on gdrive

    ReplyDelete
  8. I find this article is very informative and helpful. Thank you for sharing!

    Web Developer

    ReplyDelete