Google Drive is the famous and most leading file hosting website provided by Google, Where you can upload and share every files i.e. software, music, PDF, documents, sheets etc. But, the problem is that, when we share file over google drive, then we don't get direct links.
1. Direct link for Files excluding Documents
* First, Upload your files to google drive. For example purpose, I have already upload a file to google drive. So my file address is below,
https://drive.google.com/file/d/0B063yQrjZluBYzVjVHI2UzUwYzA/edit?usp=sharing
* Now, to make a direct link, You have to make some changes on the link. Like below,
https://drive.google.com/uc?export=download&id=0B063yQrjZluBYzVjVHI2UzUwYzA
Now, Your direct download link is ready. Just try both google drive file address one by one.
2. Direct link for Documents
The number 1 tutorial works only for files but not with documents So, Follow the below tutorial to make a direct link of Google drive's Documents files. For example purpose, I have created an imaginary file id or address
* When, You upload your documents to drive, then your documents address will be looks like below,
https://docs.google.com/document/d/63yQrjZluBYzVjVHI2UzUw/edit?usp=sharing
* Now, to make a direct link, You have to make some changes on the link. Like below,
https://docs.google.com/document/d/63yQrjZluBYzVjVHI2UzUw/export?format=pdf
* Now, the above modified link is your direct link of your documents files
Goolge is the variety of many features . So, you can download the documents in others extensions also such as 'doc', 'pdf', 'odt', 'Html', 'Text' also.
So, How can you do this ?. You just replace pdf (at the end of link) from the above modified direct link with the extensions name like, 'doc', 'pdf', 'odt', 'html', 'text'.
For Example :
Your documents direct link is below,
https://docs.google.com/document/d/63yQrjZluBYzVjVHI2UzUw/export?format=pdf
Now, you have to change the files extensions name with the Pdf. If, I want to download my Documents as text, then address will be,
https://docs.google.com/document/d/63yQrjZluBYzVjVHI2UzUw/export?format=text
If, I want to download my file as odt, then my direct link will be,
https://docs.google.com/document/d/63yQrjZluBYzVjVHI2UzUw/export?format=odt
If, I want to download my file as html, then my direct link will be,
https://docs.google.com/document/d/63yQrjZluBYzVjVHI2UzUw/export?format=html
Now, you have learned, how to make a direct link of Google drive files and documents. I hope, this tutorial will be helpful for You.