<div dir="ltr">Yep just use fetch with mpde=ftp and setup ftp server on windows box, problem solved</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 23, 2022 at 12:57 AM Tom Hayward <<a href="mailto:tom@tomh.us">tom@tomh.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Sounds like you just need /tool fetch. <div dir="auto"><a href="https://wiki.mikrotik.com/wiki/Manual:Tools/Fetch" target="_blank">https://wiki.mikrotik.com/wiki/Manual:Tools/Fetch</a><br><div dir="auto"><br></div><div dir="auto">The blacklist script is a thorough example: <a href="https://github.com/kd7lxl/blacklist-service/blob/master/block-address.rsc" target="_blank">https://github.com/kd7lxl/blacklist-service/blob/master/block-address.rsc</a></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 22, 2022, 19:00 Rob Martin via PSDR <<a href="mailto:psdr@hamwan.org" target="_blank">psdr@hamwan.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:verdana,helvetica,sans-serif;font-size:16px"><div dir="ltr">I am trying to achieve something using RouterOS scripting, and I'm hoping that here I might find the appropriate expertise.<br></div><div dir="ltr"><br></div><div dir="ltr">From a script running in a Mikrotik router I wish to pull in a copy of a file from an attached Windows computer. The computer is on the same subnet as the router.<br></div><div dir="ltr"><br></div><div dir="ltr">By way of illustration: <br></div><div dir="ltr"><br></div><div dir="ltr"> A file called test.xxx exists on a Windows computer in the folder c:\aaa\</div><div dir="ltr"><br></div><div dir="ltr"> I want a copy of this file to appear in the attached router /file list. This copy "event" could be either a push from the computer, or a pull from the router.<br></div><div dir="ltr"><br></div><div dir="ltr">When using Winbox, this function is achieved easily using "drag and drop", but I need to automate the function.</div><div dir="ltr"><br></div><div dir="ltr">Thanks.</div><div dir="ltr"><br></div><div dir="ltr">Rob</div><div dir="ltr">K7QJ<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div></div></div>_______________________________________________<br>
PSDR mailing list<br>
<a href="mailto:PSDR@hamwan.org" rel="noreferrer" target="_blank">PSDR@hamwan.org</a><br>
<a href="http://mail.hamwan.net/mailman/listinfo/psdr" rel="noreferrer noreferrer" target="_blank">http://mail.hamwan.net/mailman/listinfo/psdr</a><br>
</blockquote></div>
_______________________________________________<br>
PSDR mailing list<br>
<a href="mailto:PSDR@hamwan.org" target="_blank">PSDR@hamwan.org</a><br>
<a href="http://mail.hamwan.net/mailman/listinfo/psdr" rel="noreferrer" target="_blank">http://mail.hamwan.net/mailman/listinfo/psdr</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div>Thanks,</div>
<div>Jamie Owens</div></div>