On Wednesday, November 23, 2022 at 12:00:21 PM PST, psdr-request@hamwan.org <psdr-request@hamwan.org> wrote:
Send PSDR mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of PSDR digest..."
Today's Topics:
1. RouterOS question (Rob Martin)
2. Re: RouterOS question (Tom Hayward)
3. Re: RouterOS question (Jamie Owens)
4. Re: RouterOS question (Bart Kus)
5. Re: RouterOS question (Stephen Kangas)
----------------------------------------------------------------------
Message: 1
Date: Wed, 23 Nov 2022 03:00:30 +0000 (UTC)
Subject: [HamWAN PSDR] RouterOS question
Content-Type: text/plain; charset="utf-8"
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.
RobK7QJ
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Tue, 22 Nov 2022 21:46:48 -0800
Subject: Re: [HamWAN PSDR] RouterOS question
Message-ID:
Content-Type: text/plain; charset="utf-8"
Sounds like you just need /tool fetch.
The blacklist script is a thorough example:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Wed, 23 Nov 2022 00:59:11 -0800
Subject: Re: [HamWAN PSDR] RouterOS question
Message-ID:
Content-Type: text/plain; charset="utf-8"
Yep just use fetch with mpde=ftp and setup ftp server on windows box,
problem solved
On Wed, Nov 23, 2022 at 12:57 AM Tom Hayward <
tom@tomh.us> wrote:
> Sounds like you just need /tool fetch.
>
> The blacklist script is a thorough example:
>
>
>> 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 mailing list
>
--
Thanks,
Jamie Owens
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Wed, 23 Nov 2022 10:52:57 -0800
Subject: Re: [HamWAN PSDR] RouterOS question
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Alternatively, you can push from Windows, by having an SSH key installed
and using SCP:
--Bart
On 11/23/2022 12:59 AM, Jamie Owens wrote:
> Yep just use fetch with mpde=ftp and setup ftp server on windows box,
> problem solved
>
> On Wed, Nov 23, 2022 at 12:57 AM Tom Hayward <
tom@tomh.us> wrote:
>
> Sounds like you just need /tool fetch.
>
> The blacklist script is a thorough example:
>
> 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 mailing list
>
>
>
> --
> Thanks,
> Jamie Owens
>
> _______________________________________________
> PSDR mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 5
Date: Wed, 23 Nov 2022 11:17:03 -0800
Subject: Re: [HamWAN PSDR] RouterOS question
Message-ID: <31e5201d8ff70$2de768b0$89b63a10$@kangas.com>
Content-Type: text/plain; charset="utf-8"
Bart’s suggestion is a better way as it is much more secure. Allowing FTP to be run at any time in RouterOS is asking for trouble, as it can be potentially be used for a bad actor to infect your device. SCP (Secure Copy Protocol) is not only encrypted but using Secure Shell (SSH) to access it helps prevent problems.
Stephen W9SK
Sent: Wednesday, November 23, 2022 10:53 AM
Subject: Re: [HamWAN PSDR] RouterOS question
Alternatively, you can push from Windows, by having an SSH key installed and using SCP:
--Bart
On 11/23/2022 12:59 AM, Jamie Owens wrote:
Yep just use fetch with mpde=ftp and setup ftp server on windows box, problem solved
Sounds like you just need /tool fetch.
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 mailing list
--
Thanks,
Jamie Owens
_______________________________________________
PSDR mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Subject: Digest Footer
_______________________________________________
PSDR mailing list
------------------------------
End of PSDR Digest, Vol 117, Issue 1
************************************