[EMAIL PROTECTED] wrote:

> Thanks for your reply. Only ping works for bbc.com and not wget.

When I issue the command "wget www.bbc.com", it successfully downloads the
following file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Refresh" content="0; URL=http://www.bbc.co.uk/?ok";>
<TITLE>British Broadcasting Corporation </TITLE>
</HEAD>
<BODY BGCOLOR="white">
</BODY>
</HTML> 


You might want to try "wget http://www.bbc.co.uk";.

I think http://www.gnu.org/software/wget/faq.html should have another
question: "Why did my download fail and how can I get it to work?" In the
answer to that question we should mention all the common failure modes:
disallowed by robots.txt, need to set user agent to look like a browser,
META refresh (as above), etc. along with the command line options to resolve
the failure.

Also, perhaps the next version of wget can handle META refresh.

Tony


Reply via email to