Friday 25 November 2016

Direct Links to your Files on Google Drive

Direct Links to your Files on Google Drive

Direct Links to your Files on Google Drive
Direct Links to your Files on Google Drive

DIRECT LINKS TO YOUR FILES ON GOOGLE DRIVE - YouTube

https://www.youtube.com/watch?v=ehue47G5ayc
14 hours ago - Uploaded by SAVE MONEY
DIRECT LINKS TO YOUR FILES ON GOOGLE DRIVE .... How to Generate Direct Download Links for ...

------------------------------------------------------------------------------------------------------------
EXAMPLE NO:1
-----------------------------------------------------------------------------------------------------------------
GET LINK
IN THIS LINK SHAPE FILE ID AT THE START OF THE LINK
-----------------------------------------------------------------------------------------------------------------
https://drive.google.com/file/d/FILE_ID/edit?usp=sharing
https://drive.google.com/file/d/0B2BtMc5vQHtXN1hjOUoxR3UxelU/view?usp=sharing
----------------------------------------------------------------------------------------------------------------
NOW CHANGE LINK TO LINK SHAPE
IN THIS LINK SHAPE FILE ID AT THE END OF THE LINK
-----------------------------------------------------------------------------------------------------------------
https://drive.google.com/uc?export=download&id=FILE_ID
https://drive.google.com/uc?export=download&id=0B2BtMc5vQHtXN1hjOUoxR3UxelU
------------------------------------------------------------------------------------------------------
BOTH LINK COMPARISON
--------------------------------------------------------------------------------------------------------
https://drive.google.com/file/d/0B2BtMc5vQHtXN1hjOUoxR3UxelU/view?usp=sharing
https://drive.google.com/uc?export=download&id=0B2BtMc5vQHtXN1hjOUoxR3UxelU
--------------------------------------------------------------------------------------------------------
Create Direct Links to your Files on Google Drive
http://www.labnol.org/internet/direct-links-for-google-drive/28356/
-------------------------------------------------------------------------------------------------------

Create Direct Links and Skip the Web Viewer

Google Drive doesn’t offer a simple option for creating these “direct download” link but you can easily create them by slightly modifying the generated URLs. Here’s the trick.
A file hosted on Google Drive has a shared link that looks like this:
https://drive.google.com/file/d/FILE_ID/edit?usp=sharing
When you access this link, it will render the file in the browser but if you can rewrite this URL slightly, the link, when clicked, will download the corresponding file in the user’s browser instead of opening it in the browser. The modified URL would be:
https://drive.google.com/uc?export=download&id=FILE_ID
All you have to do is make note of the FILE_ID in the original URL and use it in the modified URL. For example, here’s an image file hosted on Google Drive that will open in the browser and here’s the modified URL that forces the browser to download the file.

Direct Download Links for Google Documents

The trick works for native Google Documents too though the URL format is a little different.
Google Docs: When you share a Google document, the URL would be:
https://docs.google.com/document/d/FILE_ID/edit?usp=sharing
Replace /edit with /export and add the file format that the document should be saved as and your download link is ready.
https://docs.google.com/document/d/FILE_ID/export?format=doc https://docs.google.com/document/d/FILE_ID/export?format=pdf
The above links will now download the same Google document in Word (.docx) and PDF formats. You can also use “txt”, “html” and “odt” for the download format.
Google Presentations: Google Docs offer an even simpler URL scheme for creating direct links to Google Presentations. The original shared links are of the following format:
https://docs.google.com/presentation/d/FILE_ID/edit?usp=sharing
The direct links for downloading the same presentation deck in PowerPoint (.pptx) and PDF formats are below:
https://docs.google.com/presentation/d/FILE_ID/export/pptx https://docs.google.com/presentation/d/FILE_ID/export/pdf
Google Spreadsheets: Open your Google Spreadsheet in the browser, make the sheet Public (or Anyone with a link) and make a note of the shared URL. It should be something like this:
https://docs.google.com/spreadsheets/d/FILE_ID/edit?usp=sharing
The direct download links use a similar format as Google Documents and will read like:
-----------------------------------------------------------------------------------------------------
DIRECT LINK GENERATOR CODE
-----------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

How To Bypass Google Drive Viewer and Create Direct Download Links


How To Bypass Google Drive Viewer and Create Direct Download Links

Google Drive has revolutionized the way we share files and collaborate with others. You can upload and share almost any file format you can think of and the people whom you share the file with can easily preview a file, even without installing the needed software on their browser via Google Drive Viewer (PSD and CAD files anyone?).

This is an awesome feature, but there are cases where you may want to share a direct download link instead of taking the user to the browser viewer. Say for example, you need to print a document and the only printer available is connected to a shared PC. If you don’t want to login to your Google account on other computers, a direct link would come in handy.

Amit of Digital Inspiration has found a way to skip the web viewer and allow users to download a file automatically. Currently, Google Drive doesn’t have an easy option to generate direct links through the web UI. To do this, you simply need to edit the URL generated based on the patterns below.
 

Typical share URL looks like this: 
 
 https://drive.google.com/file/d/FILE_ID/edit?usp=sharing

Direct download link equivalent: 
 
https://drive.google.com/uc?export=download&id=FILE_ID

As you can see, you only need to note of the FILE_ID. Note that the above URL pattern is for creating direct links to file formats with no Google Drive equivalent such as image and audio files. This trick also works for Docs, Sheets, and Presentations, but with a different URL pattern. I have created a reference table below for your convenience, but you can also take a look at Amit’s original post here.
 Google Docs  

Share URL: 
https://docs.google.com/document/d/FILE_ID/edit?usp=sharing  

Direct Link Format: 
https://docs.google.com/document/d/FILE_ID/export?format=doc (to download as .doc format) https://docs.google.com/document/d/FILE_ID/export?format=pdf (to download as PDF)  

Google Sheets
Share URL: 
https://docs.google.com/spreadsheets/d/FILE_ID/edit?usp=sharing  

Direct Link Format: 
https://docs.google.com/spreadsheets/d/FILE_ID/export?format=xlsx (to download as an Excel file) https://docs.google.com/spreadsheets/d/FILE_ID/export?format=pdf (to download as PDF) Google 

Presentations

Share URL: 
https://docs.google.com/presentation/d/FILE_ID/edit?usp=sharing 

Direct Link Format: 
https://docs.google.com/presentation/d/FILE_ID/export/pptx (to download as PowerPoint) https://docs.google.com/presentation/d/FILE_ID/export/pdf (to download as PDF)  

Other files

Share URL: 
https://drive.google.com/file/d/FILE_ID/edit?usp=sharing

Direct Link Format: 
https://drive.google.com/uc?export=download&id=FILE_ID

Do you think bypassing Google Drive Viewer is helpful? Let us know in the comments section below.

If you want to see live demonstrations on how other educators use Google Apps and technology to enhance student learning and increase your productivity, join a Google in Education Summit by AppsEvents and learn new knowledge you can implement Monday! Visit www.appsevents.com for a complete list of summits.


0 comments:

Post a Comment

FB Gadgets | Template Designed by Fatakat PhotosCoolBThemes.com
Code by : paid web directory

https://www.google.co.uk/search?q=site%3Ablogspot.com+fbgadgets