<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[File copy to agent]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have a some powershell scripts which i use on windows agents by the ExternalParameter or ExternalList-options. This works quite well, but currently I copy these scripts manually to the agents data folder.<br />
Is it possible that that agent automatically loads additional files in its data folder? I guess the configuration poll hook would be a good place for such an "action", but I can't find any info how to upload or download a file to the agent by NXSL.<br />
Or is there even a simpler method to copy files from server to agent for some library files?</p>
<p dir="auto">Regards,<br />
Ben</p>
]]></description><link>https://forum.netxms.org/topic/3935/file-copy-to-agent</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:29:10 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3935.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Aug 2015 12:20:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to File copy to agent on Fri, 04 Sep 2015 06:42:26 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your reply. I haven't found time yet but I will definitivly test that.</p>
]]></description><link>https://forum.netxms.org/post/17726</link><guid isPermaLink="true">https://forum.netxms.org/post/17726</guid><dc:creator><![CDATA[flytech-ben]]></dc:creator><pubDate>Fri, 04 Sep 2015 06:42:26 GMT</pubDate></item><item><title><![CDATA[Reply to File copy to agent on Tue, 25 Aug 2015 10:05:52 GMT]]></title><description><![CDATA[<p dir="auto">There is no NXSL function for that. You can use nxupload command line tool or nxshell( <a href="https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations" rel="nofollow ugc">https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations</a> ) to automate file upload. You can generate Event from hook and on event execute action(runn server command), that executes nxupload or nxshell commands.</p>
]]></description><link>https://forum.netxms.org/post/17639</link><guid isPermaLink="true">https://forum.netxms.org/post/17639</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Tue, 25 Aug 2015 10:05:52 GMT</pubDate></item><item><title><![CDATA[Reply to File copy to agent on Mon, 24 Aug 2015 08:25:30 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your answer, Victor.<br />
Is there a NXSL function to upload files to an agent? I thought I read something some time ago but I can't find it anymore...</p>
]]></description><link>https://forum.netxms.org/post/17617</link><guid isPermaLink="true">https://forum.netxms.org/post/17617</guid><dc:creator><![CDATA[flytech-ben]]></dc:creator><pubDate>Mon, 24 Aug 2015 08:25:30 GMT</pubDate></item><item><title><![CDATA[Reply to File copy to agent on Sat, 22 Aug 2015 14:11:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">currently there is no option to relate scripts to DCIs or templates and copy them automatically. You can simplify your task a bit by using mass file upload (upload file to server, then select container and choose "upload file" - it will upload selected server file to all agents in container). We have plans for simplifying related files distribution, but I cannot tell now in what release it will be.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17601</link><guid isPermaLink="true">https://forum.netxms.org/post/17601</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 22 Aug 2015 14:11:21 GMT</pubDate></item></channel></rss>