Skip to main content

Secret: How to download large files from Google Drive the right way

  

Google Drive is an awesome tool for saving files online. It offers 15 GB storage for a standard free account. If you want more space, then upgrade to their premium plans which are cheaper and are at reasonable prices.

You can easily download files of less size...about 2GB from google drive using the Google Drive's desktop app and direct download, but beyond that, it will struggle to download files. I tried to download all my pics from my backup which were about 2.5 GB, compressed them and they were failing each and every time while downloading.

In this article, I'll share a few tricks on how to download large size files from Google Drive without any issues. You can also download files with the help of download managers with this simple trick.

# Method 1:

If you're like me who thinks that Command line interface is cool and awesome, follow this method. It's a pretty easy method and anyone can follow it.

The below method is for downloading all types of files whether they are privately owned or shared. We authenticate the file from drive to grant access to our IP and maintain the connection and ensure that the download speeds remain constant.

Here are step-by-step instructions to download a file from Google Drive using the command line API if the file is shared privately and needs authentication.

Get the file ID:

        1. Go to your Google Drive in your browser.
Download large files from google drive using terminal, Above 2GB, files download
        2. Right-click (or control-click) the file you want to download and click “Get shareable link”. The link looks like this: https://drive.google.com/open?id=XXXXX. Make note of the file ID “XXXXX”; you will be needing it below.
Download large files from google drive using terminal, link Sharing, 2GB download limit
Download large files from google drive using terminal,Easliy, 2gb lmit

Get an OAuth token:

        1. Go to OAuth 2.0 Playground.
Download large files from google drive using terminal, OAuth Token
        2. In the “Select the Scope” box, scroll down, expand “Drive API v3”, and select "https://www.googleapis.com/auth/drive.readonly"
Download large files from google drive using terminal, google api,oauth
        3. Click “Authorize APIs” and then “Exchange authorization code for tokens”. Copy the “Access token”; you will be needing it below.
Download large files from google drive using terminal, using IDM,browser,

Download large files from google drive using terminal, and browser,Access token

Download the file from the command line:

If using OS X or Linux, open the “Terminal” program and enter the following command. It also works on Bash on Ubuntu on Windows 10 64-bit if you've enabled in your settings.
  1. curl -H "Authorization: Bearer YYYYY" https://www.googleapis.com/drive/v3/files/XXXXX?alt=media -o ZZZZZ
Download large files from google drive using terminal
Download large files from google drive using terminal,
If using Windows, open the “PowerShell” program and enter the following command. (Note: I haven’t tested this)
  1. Invoke-RestMethod -Uri https://www.googleapis.com/drive/v3/files/XXXXX?alt=media -Method Get -Headers @{"Authorization"="Bearer YYYYY"} | Out-File ZZZZZ
In your command, replace “XXXXX” with the file ID from above, “YYYYY” with the access token from above, and “ZZZZZ” with the file name that will be saved (for example, “myFile.mp4” if you’re downloading a mp4 file).
Press Enter and let the download begin.

# Method 2:

Method 2 is damn easy. Follow the steps below:

1. Open a browser window and copy the link of the file that you want to download.

2. Now open an Incognito window or any other browser but make sure that you are not signed in into your google account in that tab or browser.

3. Hit download. The browser starts to download the file, but if you want to use a download manager then, cancel it and paste it any download manager URL list that you prefer to.

4. That's it. :D  

Hope you like the article. Please share it and comment down below if facing any issue.

Comments

Post a Comment

Popular posts from this blog

Top 10 Websites you never knew to Download Movies Legally For Free !!

Everyone loves to watch movies and even loves them more if they are free to watch. If you Google "free movies" lots of them appear for download but in most cases, you end up downloading a virus or malware. Moreover, these sites are illegal for downloading and are deleted by google to make web search safe and free of malware.

Another source of downloading movies are through torrent websites. Downloading through these websites often get users into trouble. With the streaming services like Netflix, Amazon, HBO etc., watching movies and TV shows in our home has become more comforting than ever. What if you don't want to spend money? Without any further ado, let's see the list of websites to download movies legally.





List of Top 10 Websites to download Movies for free :
1. The Internet Archive :

The Internet Archive houses collection of a ton of articles, texts, music, and movies. From Internet Archive, you can download hundreds of books and even movies for free.
About 4-…

Top 10 Android Launchers You Need To Try in 2017

Are you bored of same old Home Screen and User Interface on your mobile device? Want to look cool and be functionable and at the same time ? Rejoice, here is the list of 10 Google Now alternatives that you could try to spice up your User Interface. The apps listed in the article requires no root access to the device. Pretty much anyone can install these as a normal app and it works for any Android device.

Google Now launcher is the best launcher in the android market and is widely famous for its simple looks and clean UI. Following the launch of Pixel smartphones this year, Google has decided to end it’s support for Google Now launcher and concerning about the future, it’s prioritising the Pixel launcher, which already comes with Pixel devices. A launcher named Pixel Launcher is already on the Google Playstore, but it misses one big feature of Google’s new“Voice Assistant” which is an extraordinary feature in Pixel smartphones.

It’s possible to install Google’s Assistant via rooting,…