下载wget.exe,http://users.ugent.be/~bpuype/wget/,将其放到C:\Windows\System32文件夹下。

下面谈谈如何使用wgetrc配置文件。

1、创建一个文件,名为wgetrc,里面写上你的设置,比如

#You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
https_proxy = http://127.0.0.1:8087/
http_proxy = http://127.0.0.1:8087/
ftp_proxy = http://127.0.0.1:8087/

# If you do not want to use proxy at all, set this to off.
use_proxy = on

2、创建HOME环境变量,指向HOME文件夹(如果没有则创建之)。

3、把wgetrc放到HOME文件夹下,创建WGETRC环境变量,指向wgetrc文件。

 

ref:http://www.interlog.com/~tcharron/wgetwin.html

相关文章:

  • 2021-06-17
  • 2021-06-02
  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
  • 2021-11-05
  • 2021-06-24
猜你喜欢
  • 2021-06-12
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
相关资源
相似解决方案