【发布时间】:2021-08-05 20:24:41
【问题描述】:
我在 CMD 中使用以下命令。wget "http://gribs2.gmn-usa.com/cgi-bin/weather_fetch.pl?parameter=wind&days=7&region=NorthEurope&dataset=nww3"
然后Wget下载一个名为weather_fetch.pl@parameter=wind&days=7&region=NorthEurope&dataset=nww3的文件。
当我使用我的网络浏览器时,我得到了文件_cache_weather-cache_NorthEurope.wind.7days.grb.bz2。
我需要第二个文件,第一个文件有些乱码。我试图添加等待命令,但它不起作用。
【问题讨论】:
-
使用
-O开关进行输出。wget -O _cache_weather-cache_NorthEurope.wind.7days.grb.bz2 "http://gribs2.gmn-usa.com/cgi-bin/weather_fetch.pl?parameter=wind&days=7&region=NorthEurope&dataset=nww3" -
@Gerhard,成功了,谢谢!
标签: windows http cmd wget grib