I use WGET, which is available for free on the internet. This is my script:
 
----------------------------------------
c:
cd \MDaemon\Sniffer
 
wget
http://sniffer:[EMAIL PROTECTED]/Sniffer/Updates/12345678.snf -O
<serial>.tst
if exist 12345678.tst goto Test
goto Done
 
:Test
snf2check.exe 12345678.tst abcdefghijklmnop
if errorlevel 1 goto Done
 
if exist 12345678.old del 12345678.old
ren 12345678.snf 12345678.old
ren 12345678.tst 12345678.snf
 
:Done
 
if exist 12345678.tst del 12345678.tst
-------------------------------------------------


Replace '12345678' with your licenseID and 'abcdefghijklmnop' with your
rulebase password. This script also keeps a .old file which is your previous
rulebase in case you need to rollback. You can execute this script
automatically every few hours or have it triggered when the update notice is
mailed to you.


Regards,
Michiel



________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Timothy C. Bohen
Sent: donderdag 12 februari 2004 14:58
To: [EMAIL PROTECTED]
Subject: [sniffer] Autoupdating rule file


I bought Pyrobatch FTP, nice little program, figured I could use it for
other things.
 
But I'm having some problems getting the script going to update my file.
 
Anyone willing to send me a script that I can use?
 
Thanks!!
 
 
 

Timothy C. Bohen
CMSInter.Net LLC / Crystal MicroSystems LLC
===========================================
web  : www.cmsinter.net
email: [EMAIL PROTECTED]
phone: 989.235.5100 x222
fax  : 989.235.5151 


---
This message has been scanned for spam and viruses by Reject
<http://www.reject.nl>  


This E-Mail came from the [EMAIL PROTECTED] mailing list. For information and 
(un)subscription instructions go to 
http://www.sortmonster.com/MessageSniffer/Help/Help.html

Reply via email to