![如何从命令行下载文件?](https://linux22.com/image/1485080/%E5%A6%82%E4%BD%95%E4%BB%8E%E5%91%BD%E4%BB%A4%E8%A1%8C%E4%B8%8B%E8%BD%BD%E6%96%87%E4%BB%B6%EF%BC%9F.png)
我尝试了 wget、powershell 和 betsadmin,但无法做到。
有人能帮我吗 ?
该 URL(如果你在浏览器中单击它,则为实时下载链接)为:
答案1
我很好奇你是如何尝试 wget 的。因为我的结果是完美的,没有任何魔法:
$ wget -O my.pdf "ww5.365planetwinall.net/Sport/OddsPrint.ashx?Eventi=7937,7944,7882,7909,7920,7910,7854,18414&ClassiQuota=1,2,51,10&Landscape=1&TipoVis=1&FontSize=6&GroupByEvent=0&printLogo=0&Tema=PlanetWin365"
--2016-02-28 17:07:20-- http://ww5.365planetwinall.net/Sport/OddsPrint.ashx?Eventi=7937,7944,7882,7909,7920,7910,7854,18414&ClassiQuota=1,2,51,10&Landscape=1&TipoVis=1&FontSize=6&GroupByEvent=0&printLogo=0&Tema=PlanetWin365
Resolving ww5.365planetwinall.net (ww5.365planetwinall.net)... 104.92.107.156
Connecting to ww5.365planetwinall.net (ww5.365planetwinall.net)|104.92.107.156|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13110 (13K) [application/pdf]
Saving to: 'my.pdf'
100%[=============================================>] 13,110 --.-K/s in 0.003s
2016-02-28 17:07:21 (3.93 MB/s) - 'my.pdf' saved [13110/13110]
我猜你前几天尝试过和其他人类似的事情,他们点击了 wget.exe 而不是在命令行上使用它。