1581423064782
(Proxy_Proxy_4_0_1+build.1581607020686.zip)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:
https://downloads.automic.com/downloads/download_api_documentation
In the Unix command line on the target server use the following commands to download the component:
1581423064782
(Proxy_Proxy_4_0_1+build.1581607020686.zip)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)"
DOWNLOAD_URL="https://downloads.automic.com/api/downloads/v1?action=get&download_file_id=1581423064782"
curl -H "$AUTH_HEADER" -X GET "$DOWNLOAD_URL" -O -J
Unpack the downloaded zip-file with 'unzip'
In a Windows shell:
powershell "[convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes(\"AUTH_USER:AUTH_PASSWORD\"))"
curl -H "Authorization: Basic <base64 hash>" -X "GET" "https://downloads.automic.com/api/downloads/v1?action=get&download_file_id=1622624739070" -O -J