|
I made this one, which is probably also somewhere on the
sniffer site. Change directories and keys for your use:
d:
cd\Batch Files\Sniffer
wget http://sniffer:[EMAIL PROTECTED]/Sniffer/Updates/<key>.snf -O <key>.snf.gz --timestamping
--header=Accept-Encoding:gzip
gzip -d -f <key>.snf.gz
:Check
fcom32 "c:\mdaemon\sniffer\<key>.snf" "d:\batch
files\sniffer\<key>.snf"
if errorlevel 1 goto Test
goto :Done
:Test
snf2check.exe <key>.snf
<password>
if errorlevel 1 goto Done
copy /y <key>.snf
c:\mdaemon\sniffer
copy /y <key>.snf <key>.old
:Done
Check for wrapping by
your e-mail client! I've put an empty line between every line, to make sure you
see what belongs together. Next to the --timestaping feature of wget, I also use
fcom32.exe to see if the file is really different than the one before. This
example also uses gzip!
Greets,
Michiel
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Matuska Sent: maandag 27 december 2004 19:51 To: [email protected] Subject: Re: Re[2]: [sniffer] Sniffer Updates Does anyone have any good instructions on how to
modify your update scripts to use gzip?
|
Title: Re: Re[2]: [sniffer] Sniffer Updates
- Re: [sniffer] Sniffer Updates Russ Uhte
- Re: [sniffer] Sniffer Updates Jim Matuska
- Re: [sniffer] Sniffer Updates Jim Matuska
- Re[2]: [sniffer] Sniffer Updates Pete McNeil
- [sniffer] Conditional Sniffer Updates Andy Schmidt
- RE: [sniffer] Sniffer Updates Landry William
- Re[2]: [sniffer] Sniffer Updates Pete McNeil
- Re: Re[2]: [sniffer] Sniffer Updates Tom Baker | Netsmith Inc
- Re: Re[2]: [sniffer] Sniffer Updates Jim Matuska
- Re[4]: [sniffer] Sniffer Updates Pete McNeil
- [sniffer] How-To: Conditional Updates wi... Michiel Prins
- [sniffer] How-To: Conditional Updates wi... Andy Schmidt
- RE: Re[2]: [sniffer] Sniffer Updates Landry William
