4 February 2013

Share Your Google Drive content to web page


Hi..

This is all about the how to give the link to web page, web site or on your blogger page so that any one can directly download the content, you uploaded previously on your Google Drive.

 1. Upload the zip file or whatever the file you want to share on your web page.

 2. Right click the same after uploading successful, and go to "Share" and select the "Share" option.

 3. Click the link named as "Change.." under the "who can access".

 4.  Select the "Public on the web" and Save the changes on click "Save" button.

 5. From the text box with the name "Link to Share" copy the contents.

6.  You  will get the content like 

    
 7. Copy the Id of the document you uploaded and want to share.

 8. Create the link like 
     < a href="https://docs.google.com/uc?export=download&id=ID_OF_YOUR_DOCUMENT">
            Click to Download the Attached Zip File
     </a>.

 9. Now its done whenever someone click the click it will prompt the user to download the file.


    Happy Coding.. !!!!

No comments:

Post a Comment