[nmglug] using wget to mirror

Karl Hegbloom karlheg at laclinux.com
Fri Apr 15 17:38:12 PDT 2005


On Fri, 2005-04-15 at 17:08 -0700, Tim Emerick wrote:
> I'm using wget to mirror McAfee's antivirus ftp site for my fairly large lan.
>  wget seems to be re-downloading the entire site when it performs it's mirror
> operation which is twice a day.
>
> 23:08:39 URL:
> ftp://ftp.nai.com/CommonUpdater/Current/VSCANENG1000/Engine/0000/Replica.log
> [321] -> "/shares/nai/Current/VSCANENG1000/Engine/0000/Replica.log" [1]
> 
> FINISHED --23:08:39--
> Downloaded: 34,082,347 bytes in 230 files

It finished pretty fast for re-downloading it all...  

The FTP code that it's printing in [] is "321".  According to rfc 959,

 http://www.faqs.org/rfcs/rfc959.html

... the first number means "positive intermediate reply", the second
means "connection", and the third is for further classification of the
response.

So, if that is the FTP response code, it's not an error, and I think
that if it really transfered the file, it would return "250", though I'm
no expert on FTP protocol.






More information about the nmglug mailing list