We recommend that you use the command line download tool. The command line tool is not only easy to use, but also has a high download speed and download efficiency. It is especially suitable for downloading files in large batches. The following describes the Linux download tools Wget and Prozilla.
Wget
Linux download tool Wget is a very common command line download tool. Most Linux releases contain this tool by default. If no installation is available, download the latest version from the relevant website and run the following command to compile and install it:
- #tar zxvf wget-1.9.1.tar.gz
- #cd wget-1.9.1
- #./configure
- #make
- #make install
It is easy to use. The Wget format of the Linux download tool is as follows:
# Wget [Option] [] 1. Common Wget Parameters
◆-B: download files in the background. Wget downloads files to the current directory by default.
◆-O: download the file to the specified directory.
◆-P: create a directory with the specified name before saving the file.
◆-T: number of attempts to connect. How many attempts will be made when Wget cannot establish a connection with the server.
◆-C: resumable upload. If the download is interrupted, the download starts from the last breakpoint when the connection is restored.
In addition to the common functions described above, Wget also supports HTTP and FTP Proxy functions. You can edit the configuration file "/etc/wgetrc.
The specific method is to use the VI editor to open the above file, remove the # Before "http_proxy" and "ftp_proxoy", and then enter the address of the corresponding proxy server after the two items, save and exit.
In addition, Wget can download the entire website, such as the entire Man manual center.
Run the following command:
# Wget-r-p-np-k where
◆ The-r parameter indicates recursive download,
◆-P refers to downloading all files, slices, etc. required to display the complete webpage,
◆-Np indicates that the upper-level directory is not searched,
◆-K indicates converting an absolute link to a relative link.
Prozilla
The Linux download tool Prozilla is also a popular command line download tool that supports multi-thread download and resumable upload.
You can download the latest 1.3.7.4 installation package and run the following command to install it:
- #tar zxvf prozilla-1.3.7.4.tar.gz
- #cd prozilla-1.3.7.4
- #./configure
- #make
- #make install
The Command Format of Linux download tool Prozilla is as follows:
# Proz [parameters] [] common options include:
◆-K = n: set n threads for download. If this parameter is not added, the number of threads is specified. Prozilla is downloaded by 4 threads by default.
◆-P,-directory-prefix = DIR: Specifies to save the downloaded file to the DIR/directory.
◆-R,-resume: Continue to download unfinished files.
If you want to specify the number of threads to download, the following command is available:
# Proz-k = 5 BR> in this way, the file is downloaded in five threads and saved to the current directory.
Like Wget, Prozilla also provides the Resume function. After the download is interrupted, re-enter the preceding command, and a message indicating the resume is displayed. Press the R key to continue the download.