UPDATE:
We now set the Content-Disposition header in the first response, so
curl -JLO urlandwget --content-disposition urlboth name the file correctly.
The ITRS Resources site have implemented changes to provide durable download links to software packages.
To get the basic link, you can now hover over the DOWNLOAD button to the right of each item (including after changing the version drop-down), and you can right-click and copy the link.
The default URL format is:
https://resources.itrsgroup.com/download/latest/Gateway+2?title=geneos-gateway-7.4.0-linux-x64.tar.gzNow you can run:
curl -JLO --data '{"username": "peter@example.com", "password": "SeCret"}' https://resources.itrsgroup.com/download/latest/Gateway+2?title=geneos-gateway-7.4.0-linux-x64.tar.gzThis will download the file and rename it to geneos-gateway-7.4.0-linux-x64.tar.gz (or the latest release version).
Note: login details must be provided as a JSON-encoded username and password. If you don’t already have a login, please sign up here.
The three query parameters supported are:
-
title- plain text match
This is a plain text search of the underlying filename, so it can be used to fetch a specific version, e.g.title=7.4.0 -
os- exact match only
An operating system identifier, such aslinuxorwindows -
microprocessor- exact match only
This is a general CPU architecture match, e.g.64-bitand not related to the CPU brand
The above can be combined, e.g.
https://resources.itrsgroup.com/download/latest/Netprobe?title=7.4.0&os=windows
The list of packages (the part after the/latest/The URL is not fixed, and you need to discover those manually at first by visiting the resources.itrsgroup.com or ITRS Downloads site and checking the links.
Hopefully, this will make automation much simpler.
Comments
0 comments
Please sign in to leave a comment.