5 Wget Command Examples to Download Files in Linux
-
by cobra_admin
- 92
Wget is used to download your files from the remote server and is mainly used on Linux Command-Line.
It works while you perform the following actions –
(1) Download the File to the Same Directory using Wget
You can download the file to the current directory using the Wget command given below –
# wget https://accuwebhosting.com/download.zip
(2) Download the File and Save it at a Specific Location
If you want to download the file at any specific location.
# wget https://accuwebhostin.com/download.zip -O /opt/download.zip
(3) Download the File from FTP
Use the command given below to download files from FTP –
# wget ftp://ftp.accuwebhosting.com/download.zip
(4) Download File from Password Protected URLs
When you access any URL to download files, it requires a username and password to download a file. Use the following command to download the file from a password-protected FTP server –
# wget –ftp-user=username –ftp-password=password ftp://ftp.accuwebhosting.com/download.zip
Use the following command to Download the file from password protected http server
# wget –http-user=username –http-password=password https://accuwebhosting.com/download.zip
(5) Download the File from the Untrusted Secure URL
Use the following command to download a file from the untrusted secure URL –
# wget https://accuwebhosting.com/download.zip –no-check-certific
Wget is used to download your files from the remote server and is mainly used on Linux Command-Line. It works while you perform the following actions – (1) Download the File to the Same Directory using WgetYou can download the file to the current directory using the Wget command given…
Wget is used to download your files from the remote server and is mainly used on Linux Command-Line. It works while you perform the following actions – (1) Download the File to the Same Directory using WgetYou can download the file to the current directory using the Wget command given…