Today I'll show you how you can download ANY files with direct link directly to your Google Drive!
##Are you rushing to make money online? Then this article is for you!
STEPS:1. Go to Google Colab and mount your drive.
2. Go to where you want to download the file.
3. Download the file directly to your Google Drive!
Step 1: Go to Google Colab and mount your drive.
First, let's go to Google Colab
![](https://i.ibb.co/BLgBC6z/image.png)
Click on "Cancel" at the bottom right corner. You'll get something like this.
![](https://i.ibb.co/FqnmDRg/image.png)
Click on "Connect" at the top right corner. You'll see something like this.
![](https://i.ibb.co/pXhZpt6/image.png)
Now we have to mount our drive. To do this click on the folder icon on top left and click on the folder with the drive icon as shown below.
![](https://i.ibb.co/pnVdvV8/image.png)
You'll see something like this. Now click on the play icon.
![](https://i.ibb.co/ss1bLpB/image.png)
Click on the link and authorize google colab to access your drive. It's perfectly safe as it is from Google itself.
![](https://i.ibb.co/BLPjCDg/image.png)
![](https://i.ibb.co/rc2cyq8/image.png)
![](https://i.ibb.co/xSWh1zC/image.png)
Now copy this authorization code, paste it into the box in Google Colab notebook and hit Enter on keyboard.
![](https://i.ibb.co/C1KX0Lt/image.png)
![](https://i.ibb.co/pQHH7wh/image.png)
You'll get this output. This means our driver in successfully mounted.
![](https://i.ibb.co/LQ89zcq/image.png)
![](https://i.ibb.co/BLgBC6z/image.png)
Click on "Cancel" at the bottom right corner. You'll get something like this.
![](https://i.ibb.co/FqnmDRg/image.png)
Click on "Connect" at the top right corner. You'll see something like this.
![](https://i.ibb.co/pXhZpt6/image.png)
Now we have to mount our drive. To do this click on the folder icon on top left and click on the folder with the drive icon as shown below.
![](https://i.ibb.co/pnVdvV8/image.png)
You'll see something like this. Now click on the play icon.
![](https://i.ibb.co/ss1bLpB/image.png)
Click on the link and authorize google colab to access your drive. It's perfectly safe as it is from Google itself.
![](https://i.ibb.co/BLPjCDg/image.png)
![](https://i.ibb.co/rc2cyq8/image.png)
![](https://i.ibb.co/xSWh1zC/image.png)
Now copy this authorization code, paste it into the box in Google Colab notebook and hit Enter on keyboard.
![](https://i.ibb.co/C1KX0Lt/image.png)
![](https://i.ibb.co/pQHH7wh/image.png)
You'll get this output. This means our driver in successfully mounted.
![](https://i.ibb.co/LQ89zcq/image.png)
Step 2: Go to where you want to download the file.
Now let's go to our drive folder.
Write 'cd /content/drive/MyDrive/' in a cell and hit Ctrl+Enter, or you can use the play icon on the left of the cell.
You can go to your Shared Drives with 'cd /content/drive/Shareddrives/YourDriveName'
I am using My Drive for the tutorial.
![](https://i.ibb.co/q9fpBbY/image.png)
You can use 'ls' command to check your drive files and folders.
![](https://i.ibb.co/9VyRQZm/image.png)
I want to create a folder here named "Test Downloads"
The command is "mkdir 'Test Downloads'"
![](https://i.ibb.co/ZJkQ0vY/image.png)
When you run the command you won't see any output. But the folder is created. Use 'ls' command to make sure.
![](https://i.ibb.co/vhVVWBp/image.png)
I want to download the file inside the "Test Downloads" folder. So I am running "cd 'Test Downloads'" to change the directory to the folder.
![](https://i.ibb.co/QY6pCnx/image.png)
Write 'cd /content/drive/MyDrive/' in a cell and hit Ctrl+Enter, or you can use the play icon on the left of the cell.
You can go to your Shared Drives with 'cd /content/drive/Shareddrives/YourDriveName'
I am using My Drive for the tutorial.
![](https://i.ibb.co/q9fpBbY/image.png)
You can use 'ls' command to check your drive files and folders.
![](https://i.ibb.co/9VyRQZm/image.png)
I want to create a folder here named "Test Downloads"
The command is "mkdir 'Test Downloads'"
![](https://i.ibb.co/ZJkQ0vY/image.png)
When you run the command you won't see any output. But the folder is created. Use 'ls' command to make sure.
![](https://i.ibb.co/vhVVWBp/image.png)
I want to download the file inside the "Test Downloads" folder. So I am running "cd 'Test Downloads'" to change the directory to the folder.
![](https://i.ibb.co/QY6pCnx/image.png)
Step 3: Download the file directly to your Google Drive!
The file I am using for this demo is this one
We will use a powerful tool named wget for downloading.
You can find it's documentations here
The command to download any file with wget is '!wget file_link'
So, for this example, my command is "!wget https://speed.hetzner.de/1GB.bin"
Run this command, and the download process will begin. It's that easy!
![](https://i.ibb.co/fM7TH1h/image.png)
To be sure that the file has been downloaded, run the 'ls' command.
![](https://i.ibb.co/KxzRP10/image.png)
We will use a powerful tool named wget for downloading.
You can find it's documentations here
The command to download any file with wget is '!wget file_link'
So, for this example, my command is "!wget https://speed.hetzner.de/1GB.bin"
Run this command, and the download process will begin. It's that easy!
![](https://i.ibb.co/fM7TH1h/image.png)
To be sure that the file has been downloaded, run the 'ls' command.
![](https://i.ibb.co/KxzRP10/image.png)
Now you can download it directly from your Google Drive.
Thank you for going through the tutorial!