Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How to script the download of installation kits from the wrc

Discussion
Guillaume Rongier · Nov 16, 2021

How to script the download of installation kits from the wrc

For all docker versions we have direct download links.

Like on our repository or on docker hub :

  • https://containers.intersystems.com

  • https://hub.docker.com/search?q=intersystems&type=image

However, there is no direct link to download the installable (non docker) versions.

I propose you these two scripts to solve this need, the first one is with the wget command, the other one in curl.

Wget :

wget --delete-after --keep-session-cookies --save-cookies cookies.txt \
--post-data='UserName=<Your Login>&Password=<Your password>'  \
'https://login.intersystems.com/login/SSO.UI.Login.cls?referrer=https%253A//wrc.intersystems.com/wrc/login.csp'

wget --load-cookies cookies.txt --content-disposition \
https://wrc.intersystems.com/wrc/WRC.StreamServer.cls?FILE=/wrc/Live/ServerKits/IRIS-2020.1.1.408.0-win_x64.exe

cUrl :

curl -L -c cookies.txt -d "UserName=<Your Login>&Password=<Your password>" https://login.intersystems.com/login/SSO.UI.Login.cls?referrer=https%253A//wrc.intersystems.com/wrc/login.csp

curl -b cookies.txt https://wrc.intersystems.com/wrc/WRC.StreamServer.cls\?FILE\=/wrc/Live/ServerKits/IRIS-2020.1.1.408.0-win_x64.exe --output IRIS-2020.1.1.408.0-win_x64.exe

Source URL:https://community.intersystems.com/post/how-script-download-installation-kits-wrc