<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Alternatively, you can push from Windows, by having an SSH key
installed and using SCP:<br>
<br>
<a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/35292681/pscp-file-from-windows-to-linux-using-private-public-keys">https://stackoverflow.com/questions/35292681/pscp-file-from-windows-to-linux-using-private-public-keys</a><br>
<br>
--Bart<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/23/2022 12:59 AM, Jamie Owens
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CABTA65cZqS1kv3tiKBDB-HOFLYq0j+A04=C82GZm1byLANdjNg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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"
moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">PSDR@hamwan.org</a><br>
<a href="http://mail.hamwan.net/mailman/listinfo/psdr"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">http://mail.hamwan.net/mailman/listinfo/psdr</a><br>
</blockquote>
</div>
_______________________________________________<br>
PSDR mailing list<br>
<a href="mailto:PSDR@hamwan.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">PSDR@hamwan.org</a><br>
<a href="http://mail.hamwan.net/mailman/listinfo/psdr"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">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>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
PSDR mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PSDR@hamwan.org">PSDR@hamwan.org</a>
<a class="moz-txt-link-freetext" href="http://mail.hamwan.net/mailman/listinfo/psdr">http://mail.hamwan.net/mailman/listinfo/psdr</a>
</pre>
</blockquote>
<br>
</body>
</html>