Re: Error connecting to target server

2005-11-11 Thread Steven M. Schweda
   It works fine from here (209.98.249.184, Wget 1.10.2a1, VMS Alpha
V7.3-2).  If it hangs for you, it could be that firewall.  It's easy
enough to block port 80 and pass "ping".  Does any browser work?  I
suspect not.



   Steven M. Schweda   (+1) 651-699-9818
   382 South Warwick Street[EMAIL PROTECTED]
   Saint Paul  MN  55105-2547


RE: Error connecting to target server

2005-11-11 Thread Tony Lewis
[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:




http://www.bbc.co.uk/?ok";>
British Broadcasting Corporation 



 


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




RE: Error connecting to target server

2005-11-11 Thread mabu.shaik
Hi,

Thanks for your reply. Only ping works for bbc.com and not wget. Output is 
given below.

bash-2.03$ wget http://mirror.itu.int/html-files.tar.gz
--09:53:43--  http://mirror.itu.int/html-files.tar.gz
   => `html-files.tar.gz'
Resolving mirror.itu.int... 156.106.192.159
Connecting to mirror.itu.int|156.106.192.159|:80...

# wget www.bbc.com
--09:55:21--  http://www.bbc.com/
   => `index.html'
Resolving www.bbc.com... 212.58.224.86
Connecting to www.bbc.com|212.58.224.86|:80... ^C
# uname -a
SunOS  5.8 Generic_108528-23 sun4u sparc SUNW,Ultra-60


Thanks & Regards,

Mabu Shaik 
-Original Message-
From: Noèl Köthe [mailto:[EMAIL PROTECTED] 
Sent: 11 November 2005 09:18
To: Shaik,M,Mabu,JRM3X C
Cc: wget@sunsite.dk
Subject: Re: Error connecting to target server

Am Mittwoch, den 09.11.2005, 17:38 + schrieb [EMAIL PROTECTED]:

> I have installed latest wget available and I tried to use wget
> utility. But I can establish connection to the target servers from my
> Solaris box. My server is behind the firewall, but when I do a ping
> bbc.com, it is fine.

> Do I need to set up any other parameters to make sure I connect to the
> web urls through wget?

Please show us the real command and the output like this:

$ uname -a
Linux apu 2.6.14-1-686 #1 Tue Nov 1 15:51:43 JST 2005 i686 GNU/Linux
$ wget --version
GNU Wget 1.10.2
...
$ wget www.bbc.com
--10:15:26--  http://www.bbc.com/
   => `index.html'
Resolving www.bbc.com... 212.58.224.87
Connecting to www.bbc.com|212.58.224.87|:80... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from www.bbc.com attempted to set domain to bbc.co.uk
Cookie coming from www.bbc.com attempted to set domain to bbc.co.uk
Length: 233 [text/html]

100%[===>]
 233   --.--K/s

10:15:26 (7.66 MB/s) - `index.html' saved [233/233]

-- 
Noèl Köthe 
Debian GNU/Linux, www.debian.org


Re: Error connecting to target server

2005-11-11 Thread Noèl Köthe
Am Mittwoch, den 09.11.2005, 17:38 + schrieb [EMAIL PROTECTED]:

> I have installed latest wget available and I tried to use wget
> utility. But I can establish connection to the target servers from my
> Solaris box. My server is behind the firewall, but when I do a ping
> bbc.com, it is fine.

> Do I need to set up any other parameters to make sure I connect to the
> web urls through wget?

Please show us the real command and the output like this:

$ uname -a
Linux apu 2.6.14-1-686 #1 Tue Nov 1 15:51:43 JST 2005 i686 GNU/Linux
$ wget --version
GNU Wget 1.10.2
...
$ wget www.bbc.com
--10:15:26--  http://www.bbc.com/
   => `index.html'
Resolving www.bbc.com... 212.58.224.87
Connecting to www.bbc.com|212.58.224.87|:80... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from www.bbc.com attempted to set domain to bbc.co.uk
Cookie coming from www.bbc.com attempted to set domain to bbc.co.uk
Length: 233 [text/html]

100%[===>]
 233   --.--K/s

10:15:26 (7.66 MB/s) - `index.html' saved [233/233]

-- 
Noèl Köthe 
Debian GNU/Linux, www.debian.org


signature.asc
Description: This is a digitally signed message part