Is it the .snf.gz file that gets compared or the .snf file?  I thought the
.gz file was something created dynamically by the server/wget interaction
and that the .snf file was the target for comparison. I'll do some more
experimentation using the .gz file and see what I get.

Pete's suggestion is probably the right one, I can take the scheduler calls
to updatesnf.cmd out, and I'll never know there's an issue.

Thank you, all three.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Michiel Prins
Sent: Wednesday, August 18, 2004 10:28 AM
To: [EMAIL PROTECTED]
Subject: RE: [sniffer] Automatic update snafu

John,

I agree with Bonno. The wget line is good, I'm using the same. You must be
deleting the file after the update. 


Met vriendelijke groet,

ing. Michiel Prins
SOS Small Office Solutions / REJECT
Wannepad 27
1066 HW Amsterdam
tel. 020-4082627
fax. 020-4082628
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Bonno Bloksma
Sent: woensdag 18 augustus 2004 16:22
To: [EMAIL PROTECTED]
Subject: Re: [sniffer] Automatic update snafu

Hi,

> c:\winnt\wget.exe
> http://www.sortmonster.net/Sniffer/Updates/mysnfcode.snf
> -N -O mysnfcode.new.gz --header=Accept-Encoding:gzip 
> --http-user=sniffer --http-passwd=password -o snfupd.txt
>
> I'm doing something wrong. Everytime the script fires it pulls the 
> file, even if it isn't newer. I thought the -N parameter was supposed 
> to limit that. What am I missing?

As I don't know anything about the internals of wget only one thing comes to
mind. When you process the mysnfcode.new.gz file does it get deleted? If so,
wget has nothing to compare.

Groetjes,

Bonno Bloksma

---
[E-mail scanned at tio.nl for viruses by Declude Virus]


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



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


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

Reply via email to