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
Copyright © 2012 Kaseya International Limited. All rights reserved. Kaseya and the Kaseya k-bug logo are among the trademarks or registered trademarks owned by or licensed to Kaseya International Limited. All other brand and product names are or may be trademarks of, and are used to identify products or services of, their respective owners.