[HamWAN PSDR] RouterOS question

Tom Hayward tom at tomh.us
Tue Nov 22 21:46:48 PST 2022


Sounds like you just need /tool fetch.
https://wiki.mikrotik.com/wiki/Manual:Tools/Fetch

The blacklist script is a thorough example:
https://github.com/kd7lxl/blacklist-service/blob/master/block-address.rsc

On Tue, Nov 22, 2022, 19:00 Rob Martin via PSDR <psdr at hamwan.org> wrote:

> I am trying to achieve something using RouterOS scripting, and I'm hoping
> that here I might find the appropriate expertise.
>
> 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.
>
> By way of illustration:
>
>      A file called test.xxx exists on a Windows computer in the folder
> c:\aaa\
>
>      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.
>
> When using Winbox, this function is achieved easily using "drag and drop",
> but I need to automate the function.
>
> Thanks.
>
> Rob
> K7QJ
>
>
> _______________________________________________
> PSDR mailing list
> PSDR at hamwan.org
> http://mail.hamwan.net/mailman/listinfo/psdr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.hamwan.net/pipermail/psdr/attachments/20221122/e7ca8bce/attachment.html>


More information about the PSDR mailing list