How To Get Direct Download Link Of Files In Google Drive, Dropbox, etc.

Vintaytime Staff
1 week ago / Updated - June 16, 2017
How To Get Direct Download Link Of Files In Google Drive, Dropbox, etc.

There are so many benefits of storing files on a cloud storage. One of the benefits is you can share your hosted files with just a link or direct download link. Major cloud storage services like Google Drive, Dropbox and OneDrive do allow users to control their file access permission, and users can easily share our personal files by creating  a link.

Here, I’m going to tell you how to get a direct download link of the files hosted in cloud storage, so the person who click the link will do not see any file preview page, and immediately get to the file download in their browser. It is very beneficial for website owners because they can save our server bandwidth by sending traffic to file hosting services.

Google Drive

Follow the steps below:

  1. Login to your Google Drive account with a desktop web browser.
  2. Right-click over a file you want to share, and select Get shareable link.
    drive-Get shareable link
  3. Enable Link sharing and click sharing settings.
  4. Select Anyone with the link can view and then press the done button.
  5. Copy the link and extract the File ID from the URL (e.g., https://drive.google.com/open?id=File ID).
  6. Now use this parameter: https://drive.google.com/uc?export=download&id=<ID>, where <ID> is the File ID.
  7. You direct link is ready and you can share the new parameter link with anyone.

The new parameter link may be longer in length, use a URL shortening service to shorten long link.

Dropbox

Follow the steps below:

  1. Login to your Dropbox account with a desktop browser.
  2. Click the Share button on any file.
    dropbox-share-buton
  3. Click Create a link and then copy the shareable link.
  4. Change dl=0 with dl=1 or replace www.dropbox.com with dl.dropboxusercontent.com from the shareable link/URL.
  5. The direct download link is ready and now you can send it to anyone.

Use a URL shortening service to shorten long link.

OneDrive

Follow the steps below:

  1. Login to your OneDrive account with a desktop browser.
  2. Select any file and click Embed.
    onedrive-embed
  3. Copy the Embed code and extract the URL (e.g., <iframe src=”URL” width=”xx” height=”xx” frameborder=”x” scrolling=”xx”></iframe>).
  4. Replace embed with download from the URL (e.g., https://onedrive.live.com/download?cid=xxx&resid=xxx&authkey=xxx).
  5. The direct download link is ready now.

MEGA

Follow the steps below:

  1. Go to getmega.net with a web browser.
  2. Paste the MEGA file link on the tool.
  3. Click the download button and you will get the direct download link.

The generated link will be expire in a few hours. Please read the description.