There are lots of benefits to storing files on cloud storage. One of the advantages is that you can share your hosted files with just one link or directly download link. Major free cloud storage services such as Google Drive, Dropbox and OneDrive allow users to control their file access permissions, and users can easily share our personal files by creating a link.

Here, I’ll tell you how to get a direct download link to the hosted files in Cloud Storage, so clicking that link will not see any file preview page, and immediately download the file in your browser. It is very beneficial for website owners because they can host public files on the cloud and save our server bandwidth.

Google Drive

Follow the steps given below:

  1. Sign in to your Google Drive account with a desktop web browser.
  2. Right-click on a file you want to share, and select ‘Get shareable link‘.
    drive-Get shareable link
  3. Enable ‘Link sharing’ and click on sharing settings.
  4. Select ‘Anyone with the link can view’ and then press the done button.
  5. Copy the link and remove 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 download link is ready, and now you can share it with anyone.

The new parameter link can be in longer in length, use the URL shortening service to shorten long links.

Dropbox

Follow the steps given below:

  1. Sign in to your Dropbox account from the desktop browser.
  2. Click on 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 in the shareable link / URL.
  5. Direct download link is ready and now you can send it to anyone.

Use a URL shortening service to shorten the long link.

OneDrive

Follow the steps given below:

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

MEGA

Follow the steps given below:

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

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

Author

This is a Stuff profile. Credit of Stories goes to all team of Vintaytime, Thank you.