I have a link to a file that I would like to download from the shell. Unfortunately, the URL redirects to a software license agreement page which requires clicking an accept button. This is fine when I'm in a standard browser but when I'm in the shell wget will just download the html page and not the actual file. What options are available to download the file to the shell when the terms must first be accepted?
Specifically, I'm looking at the following LSI download page:
I did view the source code on the page and found a link to the following location but it also pulls up the eula page when using wget.
So far the only options I have come up with is to:
- Download it to a different machine that has a browser and then upload it to the server that only has a shell. Slow and painful.
- Install something like Lynx. I'm not sure if Lynx handles downloads well and don't love the idea of installing extra software on a production server.
There has got to be an easier way?