We have a server that needs an agent installation. We want to download the binary directly from downloads.automic.com with help of the Automic Download Center API.
How can we access the online repository directly from a server?
Release : 12.3
The API of automic.downloads.com is documented here:
In the Unix command line on the target server use the following commands to download the component:
AUTH_USER="Your Broadcom support ID" # e.g. [email protected]
AUTH_PASSWORD="Your Broadcom support password"
AUTH_HEADER="Authorization: Basic $(echo -n $AUTH_USER:$AUTH_PASSWORD | base64)"
curl -H "$AUTH_HEADER" -X GET "$DOWNLOAD_URL" -O -J
Unpack the downloaded zip-file with 'unzip'
In a Windows shell:
curl -H "Authorization: Basic <base64 hash>" -X "GET" "https://downloads.automic.com/api/downloads/v1?action=get&download_file_id=1622624739070" -O -J