Hello John, I have built a similar script using WGET and the only big difference I can see is that I use wget -N http://www.sortmonster.net....
You can try putting the -N right after wget and see if it works better for you. How are you testing? Do you copy an older snf file over to compare with? Shaun Sturby, MCSE Manager - Technical Services Optrics Engineering -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Shacklett Sent: Wednesday, August 18, 2004 7:33 AM To: [EMAIL PROTECTED] Subject: [sniffer] Automatic update snafu I'm using an automatic update script to keep my rulebase up to date. This script runs periodically through the day and it also runs in response to the emails that come when the rulebase gets updated by the SortMonster. All hail the SortMonster! Anyway. The heavy lifting in that script is a line like: 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? -- John Shacklett _____________________________________________________________ IMail Server has scanned this e-mail for Viruses and SPAM using Declude Virus & Declude Junkmail available from www.Optrics.com 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