How can I download files from remote sources using the Get URL agent procedure command?

QUESTION

How can I download files from remote sources using the Get URL agent procedure command?

ANSWER

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 publicly 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: 

http://help.kaseya.com/WebHelp/EN/VSA-Online-Help.asp?2855.htm

 

MORE INFORMATION:

You can download the sampling procedure from here.

Was this article helpful?
2 out of 2 found this helpful
Have more questions? Contact us