bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Error WGET


From: Thiago Braga de Souza
Subject: Re: [Bug-wget] Error WGET
Date: Wed, 25 May 2011 12:05:27 -0300

Thanks for the help, but now I have another problem. Why he is not accepting 
the User name and Password that I am putting to him?

Does that put the commands in the wrong order?



C:\>wget -d -e http_proxy=bbawsg1:3128 -e --proxy-user=nt\tbsouza -e --proxy-pas
sword=******* http://www.bmfbovespa.com.br/suplemento/ExecutaAcaoDownload.
asp?arquivo=Titulos_Negociaveis.zip
Setting http_proxy (httpproxy) to bbawsg1:3128
Setting --proxy-user (proxyuser) to nt\tbsouza
Setting --proxy-password (proxypassword) to ********
DEBUG output created by Wget 1.11.4 on Windows-MSVC.

--2011-05-25 12:01:06--  http://www.bmfbovespa.com.br/suplemento/ExecutaAcaoDown
load.asp?arquivo=Titulos_Negociaveis.zip
Resolving bbawsg1... seconds 0.00, 10.175.12.158
Caching bbawsg1 => 10.175.12.158
Connecting to bbawsg1|10.175.12.158|:3128... seconds 0.00, connected.
Created socket 1936.
Releasing 0x00a44e20 (new refcount 1).

---request begin---
GET http://www.bmfbovespa.com.br/suplemento/ExecutaAcaoDownload.asp?arquivo=Titu
los_Negociaveis.zip HTTP/1.0
User-Agent: Wget/1.11.4
Accept: */*
Host: www.bmfbovespa.com.br
Proxy-Authorization: Basic bnRcdGJzb3V6YTpJY2Fyb05pY29sYXU0

---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.0 407 Proxy Authentication Required
Mime-Version: 1.0
Date: Wed, 25 May 2011 12:01:06 BRT
Content-Type: text/html
Proxy-Authenticate: NTLM
Connection: close
Proxy-Connection: close
Content-Length: 2599

---response end---
407 Proxy Authentication Required
Closed fd 1936
2011-05-25 12:01:06 ERROR 407: Proxy Authentication Required.


C:\>

Thiago Braga de Souza | Tecnologia
Itaú BBA
Tel.: 55 11 3708.8071
Av. Brigadeiro Faria Lima n.°3.400, 6.°andar | São Paulo - SP
CEP 04538-132
address@hidden


-----Original Message-----
From: Micah Cowan [mailto:address@hidden 
Sent: terça-feira, 24 de maio de 2011 19:58
To: Thiago Braga de Souza
Cc: address@hidden
Subject: Re: [Bug-wget] Error WGET

(05/24/2011 06:40 AM), Thiago Braga de Souza wrote:
> Hello,
> 
> My name is Thiago and I'm starting to use the tool WGET. Usually I can make 
> my company's downloads page for HTML. With WGET cannot. Can you help me? 
> Following is the error message below.
> 
> Thank you.
> 
> 
> 
> C:\>set proxy=proxylb:8081
> 
> C:\>wget -d -E --proxy-user=nt\tbsouza -E --proxy-password=********* http://
> www.bmfbovespa.com.br/suplemento/ExecutaAcaoDownload.asp?arquivo=Titulos_Negocia
> veis.zip
> Setting --html-extension (htmlextension) to 1
> Setting --proxy-user (proxyuser) to nt\tbsouza
> Setting --html-extension (htmlextension) to 1
> Setting --proxy-password (proxypassword) to ********
> DEBUG output created by Wget 1.11.4 on Windows-MSVC.
> 
> --2011-05-24 10:32:17--  
> http://www.bmfbovespa.com.br/suplemento/ExecutaAcaoDown
> load.asp?arquivo=Titulos_Negociaveis.zip
> Resolving www.bmfbovespa.com.br... seconds 0.00, 187.72.155.53

You can see that wget's not using the proxy by this line; if it were
using an HTTP proxy, wget wouldn't try to resolve the URI's address,
just the proxy's (leaving it up to the proxy to do name resolution for
URIs).

Wget doesn't respect any environment variable named "proxy"; only
"http_proxy", "https_proxy", and "ftp_proxy"; so try setting that
instead. You can also set it directly within the wget invocation, via

  -e http_proxy=proxylb:8081

-- 
Micah J. Cowan
http://micah.cowan.name/

_______________________________________________________
"Esta mensagem e enderecada exclusivamente a(s) pessoa(s) e/ou instituicoes 
acima indicadas e pode conter informacoes confidenciais, particulares ou 
privilegiadas, as quais nao podem, sob qualquer forma ou pretexto, ser 
utilizadas, divulgadas, alteradas, impressas ou copiadas, total ou 
parcialmente, por pessoas nao autorizadas. No caso desta mensagem ser recebida 
por erro, por favor, providencie sua exclusao de qualquer sistema e/ou destrua 
quaisquer copias reprograficas, notificando o remetente imediatamente. Eventual 
erro de transmissao desta mensagem em nenhuma hipotese constituira renuncia a 
confidencialidade ou a qualquer direito ou prerrogativa decorrente da mesma. 
Esta instituicao nao se responsabiliza pela realizacao de negocios, opinioes ou 
declaracoes veiculadas atraves de mensagens eletronicas."
**
"This message is intended only for the named person's and/or entity's use and 
may contain confidential, proprietary or legally privileged information, which 
shall not be used, disclosed, changed, printed or copied, in whole or in part, 
by not intended recipients. If this message is received by error, please delete 
it from your system and/or destroy any hard copies of it and notify the sender, 
immediately. No confidentiality or privilege is waived by any mistransmission. 
This institution is not responsible for any business transaction, opinions or 
declarations transmitted through electronic mail."
_______________________________________________________





reply via email to

[Prev in Thread] Current Thread [Next in Thread]