How can I download files from remote sources using the Get URL agent procedure command?
This sample demonstrates how to download files from remote sources using the Get URL agent procedure command. Simply specify the URL to download and the target location.
In this sample we are downloading directly from the vendor website, however a popular method of distributing your files is to store them in a public accessible ftp or website (cloud storage), then using this method to download them to your endpoints.
This sample simply downloads the file, however you can extend the functionality to install or execute files using the execute shell command in agent procedures.
Also note that in this script we are using a variable for the agent temp directory of the agent. See the section for "Using Auto View Variables" here:
You can download the sample procedure from here