× Installation and guides about a great free, plesk and cpanel alternative project

How to download large files from Linux server using command line

Περισσότερα
2 Χρόνια 11 Μήνες πριν #203 από infogate
Step 1 : Login to the server using the SSH login details. You can use softwares are putty or Terminal to access your server from SSH.

Step 2 : Since we are using 'Zip' for this example, the server must have Zip installed. To Install zip (incase you do not have it), type the following command

sudo apt-get install zip
Step 3 : Compress the file or folder you want to download. In order to zip the file, type the following command

For file :

zip filename.zip original_file (do not forget to add file extension)
where “filename” is the name of the zip file which will be created and original_file is the name of the original file



For folder :

zip -r example.zip folder_name
where “example” is the name of zip file which will be created after the command and “folder_name” is the name of folder which you want to zip

Step 4 : Now download the file using the following command

wget Path.to.the.zip.file
This command will store the file in the same directory where you run wget. If you want to store the downloaded file somewhere else, you may use -P option. The command for it :

wget -P /path/to/directory link.to.file
If you have downloaded zipped file then follow the following steps in order to get the original files
Step 5 : Install unzip (if you do not have) on your local machine. In order to install the unzip, type the following command

sudo apt-get install unzip
Step 6 : Navigate to the directory where the file is downloaded via command line

cd /path/to/directory
Step 7 : Type the following command

unzip example.zip
where “example.zip” is the file name of zipped file.


The best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal

Παρακαλούμε Σύνδεση ή Δημιουργία λογαριασμού για να συμμετάσχετε στη συζήτηση.

Χρόνος δημιουργίας σελίδας: 0.143 δευτερόλεπτα
Powered by Kunena Φόρουμ