> >
> > Wget seems to have a miserable bug with the -N and -O options that causes
> > it to always download the selected file. This is not the case with curl.
> >
> > wget -N -O phish.ndb http://[fqdn]/phish.ndb does not work as expected.
> > I verified this again this am.
> >
> > I'd recommend rsync with unsorted plain text files and where you add new
> > records to the end of the previous file.  This allows rsync to send only 
> > the
> > differences. Normally this is a matter of a few dozens of bytes.
> >
> > I'd mirror it for you.
> 
> This has been scripted and working fine for me for about a month on three 
> different servers:
> 
> wget --tries=5 -N http://www.sanesecurity.com/clamav/phish.ndb
> 

I use -O as I don't like to over-write an active file. I simulate (or try to)
the rsync method of saving to a .phish.ndb file which I then rename to
phish.ndb after successful download and simple validation test. I could use
another directory but that seems messy and shouldn't be necessary.

dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to