如何使用 curl 下载 exe 文件,然后 link 不包含 windows 中的 exe 文件
How to download an exe file using curl, then the link doesnt contain the exe file in windows
如何找到位于 https://go.microsoft.com/fwlink/?linkid=2108834&Channel=Stable&language=en(Microsoft 的 Edge 浏览器)的 exe 的 link,以便我可以使用 curl 下载 exe 文件?
我尝试了 curl https://go.microsoft.com/fwlink/?linkid=2108834&Channel=Stable&language=en
但它不起作用。
您必须指定要对文件内容执行的操作。
在这种情况下保存到一个新文件。
curl --location --request GET 'https://go.microsoft.com/fwlink/?linkid=2108834&Channel=Stable&language=en' --output foo.exe
如何找到位于 https://go.microsoft.com/fwlink/?linkid=2108834&Channel=Stable&language=en(Microsoft 的 Edge 浏览器)的 exe 的 link,以便我可以使用 curl 下载 exe 文件?
我尝试了 curl https://go.microsoft.com/fwlink/?linkid=2108834&Channel=Stable&language=en
但它不起作用。
您必须指定要对文件内容执行的操作。 在这种情况下保存到一个新文件。
curl --location --request GET 'https://go.microsoft.com/fwlink/?linkid=2108834&Channel=Stable&language=en' --output foo.exe