I want to download https://example.com
using the wget
command, but it says “unsupported/unrecognized protocol”. I tried using the --secure protocol=''
but that does not work.
I downloaded the tar file from GNU wget and tried configuring that but I failed.
Here is an example of what I see:
bash-2.05$ wget https://www.facebook.com/
https://www.facebook.com/: Unknown/unsupported protocol.
bash-2.05$
Hi folks thanks for the answers, the verified the version of my wget it says as below
bash-2.05$ wget -V
GNU Wget 1.6
Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Originally written by Hrvoje Niksic <[email protected]>.
and I have no idea if my wget is compiled by SSL and the SSL is enabled or not.
Could you please let me know how to compile the wget
command. I tried running the configure
file and then typed make
command, that gives me command not found error. Even after running the configuration file it does not give me any wget
file created in /usr/local/
.
bash-2.05$ cd wget-1.10.1
bash-2.05$ ./configure --prefix=/usr/local --with-ssl
bash-2.05$ make
bash: make: command not found
the version I downloaded is
wget-1.10.1.tar
bash-2.05
really your bash version? Mine is 4.3.33.busybox
version ofwget
.wget: not an http or ftp url: …
This seems to be neither GNU wget nor Busybox. Either way, it obviously doesn't support HTTPS and the solution is to install a different version or a different tool that supports HTTPS.