Objective: download the official Win10_1909 iso into linux directly via command line
Source: https://www.microsoft.com/en-in/software-download/windows10ISO
After selecting edition and language you get 64bit links like as follows, valid for 24 hours
This works fine via any gui browser or any platforms, but we need this in a linux box
- linux server is ofcourse gui less (no intend to install gui)
- wget/curl results in an forbidden html file download
- Changing user agent to firefox in wget/curl or adding custom payload as curl -d '{"t": 77e897e2-a32c-419c-8f18-54770dbb5a15,"e": 1583942596,"h": 595f691df8f7e4088d24b6cc37077d1a}' and requesting the .iso file returns a forbidden page
- tried linux based download managers like aria and axel it fails as well, forbidden
How to accomplish this via command line only?
wget "https..." -O w.iso
(the""
are important) and got a working ISO. But yeah, as @Panki asked: what's the error message? First guess:wget
without-O
orcurl
with-O
produces a file name too long for your local file system to handle?