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
