Major Sophos update

andy wright andy.wright at BARDSEY.DEMON.CO.UK
Fri Apr 26 13:37:55 IST 2002


No, the -c just does a "continue where left off" if the previous download got interrupted. The trick was to find the correct location to download the file from (ie, not a URL that uses forwarding).

Andy.


>>> Metod.Skufca at ADVANT.SI 26/04/2002 13:19:19 >>>
So... magic was in "-c".
Thanx.


 Metod

>>> andy wright <andy.wright at BARDSEY.DEMON.CO.UK> 26.4.2002 12:24:02 >>>
ok, got it!

wget -c --http-user=<username> --http-passwd=<password> www.sophos.com/sophos/products/full/linux.intel.libc6.tar.Z 

(note the uppercase Z at the end)

Combined with timestamping this should make it possible to download the file whenever it changes. I haven't got time at the moment to write a script to automate it all, so if anyone else does it let me know :)

Andy.

>>> Metod.Skufca at ADVANT.SI 26/04/2002 10:42:00 >>>
wget does everything right, but sophos site is a little tricky.
wget does not download requested file becuse sophos have enabled redirection of web page to www.sophos.com/downloads and wget then downloads present *.html page in size of 23k, not the file linux.intel.lib6.tar.Z. 
There must bi some kind of bypass to get to the file with submiting username and pass. I'm currently expecting reply from sophos tech support.

Till then I'm stuck.

by 
 Metod Skufca

>>> andy wright <andy.wright at BARDSEY.DEMON.CO.UK> 26.4.2002 11:19:46 >>>
I have tried this using WGET (the on-line help will tell you how to pass username and passwords), but without success. Downloading the tar'd Linux file stops at about 23k rather than the 1MB or so mark.

Anyone else had any more luck?

Andy.

>>> Metod.Skufca at ADVANT.SI 26/04/2002 05:49:11 >>>
Hi,

Running Mailscanner for quite a while, very pleased. :-))
Now I'm wondering...
IDE autoupdate is working fine, but I'm looking for complete automated updates.
Does anyone have a effective script for downloading major sophos update file. 
Something just to change username and pass.

Thanx in advance

Metod Skufca

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list