5 Wget Command Examples to Download Files in Linux.

wget is used to download your files from the remote server. It is used mostly on Linux Command-Line. It works as you

(1) Download File to same directory using Wget :

You can download the file to the current directory using the below wget command.

(2) Download File & Save to Specific Location :

If you want to download the file at any specific location.

# wget https://webunitech.com/download.zip -O /opt/download.zip

(3) Download File from FTP :

Use below command 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 and it requires username and password to download a file.

Use following command to Download the file from password-protected ftp server.

# wget --ftp-user=username --ftp-password=password ftp://ftp.accuwebhosting.com/download.zip

Use following command to Download file from password protected http server

#  wget --http-user=username --http-password=password https://webunitech.com/download.zip

(5) Download File from the Untrusted Secure URL :

Use the following command to download file from the untrusted secured URL.

# wget https://webunitech.com/download.zip --no-check-certification
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to add remote MySQL connection in linux?

Edit MySQL config file Use your appropriate editor to open the MySQL config file. In this...

Can I open APN port 2195 on my VPS?

You will get full administrative control of your VPS, therefore you can surely open/close any...

Can I purchase additional RAM, Disk space and Bandwidth for VPS?

Yes, you can purchase additional RAM(Our RAM Recommendation), DiskSpace, Bandwidth and vCPU...

Can I open APN port 2195 on my VPS?

You will get full administrative control of your VPS, therefore you can surely open/close any...

Difference Between su and sudo and How to Configure sudo in Linux VPS.

As we know Linux provides much better security. You can set user management policy and user...