Ask the Community
Groups
How can I download files from remote sources using the Get URL agent procedure command? - Connect IT Community | Kaseya
<main> <article class="userContent"> <h3 data-id="question">QUESTION</h3> <p>How can I download files from remote sources using the Get URL agent procedure command?</p> <h3 data-id="answer">ANSWER</h3> <p>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.</p> <p>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.</p> <p>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.</p> <p>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: </p> <p><a rel="nofollow" href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fhelp.kaseya.com%2FWebHelp%2FEN%2FVSA-Online-Help.asp%3F2855.htm">http://help.kaseya.com/WebHelp/EN/VSA-Online-Help.asp?2855.htm</a></p> <p> </p> <p>MORE INFORMATION:</p> <p>You can download the sampling procedure from <a rel="nofollow" href="https://kaseya.vanillacommunities.com/kb/articles/aliases/kaseya/hc/article_attachments/360015838517/Procedure_Download_SysInternals_Process_Explorer.xml">here</a>.</p> </article> </main>