# Durable Download Links

**URL:** <https://community.itrsgroup.com/t/durable-download-links/116>\
**Category:** Announcements\
**Created:** [9 December 2021 11:15 UTC](https://community.itrsgroup.com/t/durable-download-links/116 "2021-12-09T11:15:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgalbavy](https://dub1.discourse-cdn.com/flex013/user_avatar/community.itrsgroup.com/pgalbavy/32/15_2.png) [@pgalbavy](https://community.itrsgroup.com/u/pgalbavy)\
**Post date:** [9 December 2021 11:15 UTC](https://community.itrsgroup.com/t/durable-download-links/116/1 "2021-12-09T11:15:23Z")

</div>

> **UPDATE:**
> 
> **We now set the Content-Disposition header in the first response, so `curl -JLO url` and `wget --content-disposition url` both name the file correctly,**

We have implemented a change today 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 link.

The default URL format is:

`https://resources.itrsgroup.com/download/latest/Gateway+2?title=geneos-gateway-5.10.1-linux-x64.tar.gz`

Now you can run:

`curl -JLO --data '{"username": "peter@example.com", "password": "SeCreT"}' https://resources.itrsgroup.com/download/latest/Gateway+2?os=linux`

and this will download the file and rename it to `geneos-gateway-5.10.1-linux-x64.tar.gz` (or whatever the latest release is).

Note: login details must be provided as a JSON encoded username and password. If you don’t already have a login, please signup [here](https://www.itrsgroup.com/?register=1).

The three query parameters supported are:

- `title` - plain text match  
This is a plain text search of the underlying filename, so can be used to fetch a specific version, e.g. `title=5.8.0`
- `os` - **exact match only**  
An operating system identifier, such as `linux` or `windows`
- `microprocessor` - **exact match only**  
This is a general cpu architecture match, e.g. `64-bit` and not related to the CPU brand

The above can be combined, e.g.

`https://resources.itrsgroup.com/download/latest/Netprobe?title=5.7.2&os=windows`

The list of packages (the part after the `/latest/` in the URL) is not fixed and you need to discover those manually at first by visiting the [resources.itrsgroup.com](http://resources.itrsgroup.com) site and checking the links.

Hopefully this will make automation much simpler.

---

<div class="post-metadata">

**Author:** ![Steve\_Lapp](https://dub1.discourse-cdn.com/flex013/user_avatar/community.itrsgroup.com/steve_lapp/32/18_2.png) [@Steve\_Lapp](https://community.itrsgroup.com/u/Steve_Lapp)\
**Post date:** [9 December 2021 16:18 UTC](https://community.itrsgroup.com/t/durable-download-links/116/2 "2021-12-09T16:18:27Z")

</div>

Thanks @pgalbavy so then we can get Netprobe downloads without logging in right now? I need this to make some of the SAN work we are doing easier to deploy.

---

<div class="post-metadata">

**Author:** ![pgalbavy](https://dub1.discourse-cdn.com/flex013/user_avatar/community.itrsgroup.com/pgalbavy/32/15_2.png) [@pgalbavy](https://community.itrsgroup.com/u/pgalbavy)\
**Post date:** [9 December 2021 16:22 UTC](https://community.itrsgroup.com/t/durable-download-links/116/3 "2021-12-09T16:22:39Z")

</div>

As I mentioned above, before the end of the year. If the stars align, next week 😉

See my [Geneos Golang package](https://community.itrsgroup.com/t/geneos-golang-package/41) topic for an example I knocked up literally today - in an existing framework - that automates this with authentication. There is also the matter of the filename, but again the `Content-Disposition` header will be added soon; for now I peek at the resulting redirrect URI for the real filename.

---

<div class="post-metadata">

**Author:** ![Steve\_Lapp](https://dub1.discourse-cdn.com/flex013/user_avatar/community.itrsgroup.com/steve_lapp/32/18_2.png) [@Steve\_Lapp](https://community.itrsgroup.com/u/Steve_Lapp)\
**Post date:** [9 December 2021 16:24 UTC](https://community.itrsgroup.com/t/durable-download-links/116/4 "2021-12-09T16:24:26Z")

</div>

Ahh, I got it, didn’t read everything! Good, you saw the AWS plugin was released today, which is great, but all those AWS instances that people want to bake SAN’s into, it would be easier if they could get it at build or run time of the AWS Instance.

Plus any other cloud env for sure…
