我想https://example.com
使用该wget
命令下载,但它显示“不受支持/无法识别的协议”。我尝试使用 ,--secure protocol=''
但这不起作用。我从 GNU wget 下载了 tar 文件并尝试配置它,但我失败了。
这是我所看到的一个例子:
bash-2.05$ wget https://www.facebook.com/
https://www.facebook.com/: Unknown/unsupported protocol.
bash-2.05$
Run Code Online (Sandbox Code Playgroud)
大家好,感谢您的回答,验证了我的 wget 版本,如下所示
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. …
Run Code Online (Sandbox Code Playgroud)