<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML con formato previo Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLconformatoprevioCar
{mso-style-name:"HTML con formato previo Car";
mso-style-priority:99;
mso-style-link:"HTML con formato previo";
font-family:Consolas;}
span.EstiloCorreo19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.rynqvb
{mso-style-name:rynqvb;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ES-UY link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Updated
and work very good the download command!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>DXSpider
v1.57 (build 517 git: mojo/54775ee[r]) using perl v5.32.1 on MSWin32<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>badw_regex
file </span><span class=rynqvb><span lang=EN>doesn't work in this version
either.</span></span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Thank
you, 73 Jose<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span
lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
Dxspider-support [mailto:dxspider-support-bounces@tobit.co.uk] <b>En nombre de </b>Dirk
Koopman via Dxspider-support<br>
<b>Enviado el:</b> sábado, 11 de marzo de 2023 20:06<br>
<b>Para:</b> Dirk Koopman via Dxspider-support<br>
<b>CC:</b> Dirk Koopman<br>
<b>Asunto:</b> Re: [Dxspider-support] Downloads<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal><span style='font-size:13.5pt'>I should add: the 'download'
is non-blocking. As you can see in the example below they run in parallel:<br>
</span><br>
<span style='font-family:"Courier New"'>11Mar2023@20:24:00 (cron) cron: UTC 24
20 11 3 6 -> doing 'run_cmd('download <a
href="http://www.dxspider.net/download/badip.torexit">http://www.dxspider.net/download/badip.torexit</a>')'<br>
11Mar2023@20:24:00 (cron) DXCron::run_cmd: download <a
href="http://www.dxspider.net/download/badip.torexit">http://www.dxspider.net/download/badip.torexit</a><br>
11Mar2023@20:24:00 (*) download: url <a
href="http://www.dxspider.net/download/badip.torexit">http://www.dxspider.net/download/badip.torexit</a><br>
11Mar2023@20:24:00 (progress) CMD: 'download <a
href="http://www.dxspider.net/download/badip.torexit">http://www.dxspider.net/download/badip.torexit</a>'
by GB7TLH ip: 127.0.0.1 2mS<br>
11Mar2023@20:24:00 (cron) cron: UTC 24 20 11 3 6 -> doing 'run_cmd('download
<a href="http://www.dxspider.net/download/badip.torrelay">http://www.dxspider.net/download/badip.torrelay</a>')'<br>
11Mar2023@20:24:00 (cron) DXCron::run_cmd: download <a
href="http://www.dxspider.net/download/badip.torrelay">http://www.dxspider.net/download/badip.torrelay</a><br>
11Mar2023@20:24:00 (*) download: url <a
href="http://www.dxspider.net/download/badip.torrelay">http://www.dxspider.net/download/badip.torrelay</a><br>
11Mar2023@20:24:00 (progress) CMD: 'download <a
href="http://www.dxspider.net/download/badip.torrelay">http://www.dxspider.net/download/badip.torrelay</a>'
by GB7TLH ip: 127.0.0.1 1mS<br>
11Mar2023@20:24:00 (cron) cron: UTC 24 20 11 3 6 -> doing 'run_cmd('download
<a href="http://www.dxspider.net/download/badip.global">http://www.dxspider.net/download/badip.global</a>')'<br>
11Mar2023@20:24:00 (cron) DXCron::run_cmd: download <a
href="http://www.dxspider.net/download/badip.global">http://www.dxspider.net/download/badip.global</a><br>
11Mar2023@20:24:00 (*) download: url <a
href="http://www.dxspider.net/download/badip.global">http://www.dxspider.net/download/badip.global</a><br>
11Mar2023@20:24:00 (progress) CMD: 'download <a
href="http://www.dxspider.net/download/badip.global">http://www.dxspider.net/download/badip.global</a>'
by GB7TLH ip: 127.0.0.1 1mS<br>
11Mar2023@20:24:00 (progress) download: /spider/local_data/badip.global
successfully downloaded<br>
11Mar2023@20:24:00 (progress) download: /spider/local_data/badip.torexit
successfully downloaded<br>
11Mar2023@20:24:00 (progress) download: /spider/local_data/badip.torrelay
successfully downloaded<br>
</span><br>
<span style='font-size:13.5pt'>Given that sysops are successfully running the
mojo branch on Windows (apart from spawning commands), I believe this will work
identically there as well.</span><br>
<br>
On 11/03/2023 22:54, Dirk Koopman via Dxspider-support wrote:<o:p></o:p></p>
</div>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal><span style='font-size:13.5pt'>I have just pushed new
DXSpider command 'download', it is a bit experimental, but I have been using it
successfully in a few places. There may be additional facilities added to it
based on demand. Here is what the Changes file says (can't be bothered to type
it all out again):<br>
</span><span style='font-size:13.5pt;font-family:"Courier New"'><br>
1. I am aware that there are windows nodes out there on mojo (brave, impetuous <br>
that you are) and wget is not an easy option to download badip
files. So, <br>
through the power of mojo I give you the new 'download' command.
As it <br>
stands at the moment, it will download a file from a webserver and
place<br>
it in /spider/local_data. If it downloads successfully, it will
overwrite<br>
any file with that name in /spider/local_data. Needless to say
this is a <br>
sysop only command. <br>
<br>
24 * * * * run_cmd('download <a
href="http://www.dxspider.net/download/badip.torexit">http://www.dxspider.net/download/badip.torexit</a>')<br>
24 * * * * run_cmd('download <a
href="http://www.dxspider.net/download/badip.torrelay">http://www.dxspider.net/download/badip.torrelay</a>')<br>
24 * * * * run_cmd('download <a
href="http://www.dxspider.net/download/badip.global">http://www.dxspider.net/download/badip.global</a>')<br>
25 * * * * run_cmd('load/badip')<br>
<br>
would be an obvious use. But it can also be used to download spot,
USDB <br>
and other data as well. If you do use it then you will still need
to <br>
do a spawn_cmd in crontab for the conversion programs, but that
too is <br>
going to change.<br>
</span><span style='font-size:13.5pt'><br>
You don't need to restart, everything it does is in the command. <br>
<br>
Enjoy<br>
<br>
Dirk G1TLH<br>
</span><br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre><pre>Dxspider-support mailing list<o:p></o:p></pre><pre><a
href="mailto:Dxspider-support@tobit.co.uk">Dxspider-support@tobit.co.uk</a><o:p></o:p></pre><pre><a
href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><o:p></o:p></pre></blockquote>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>