RE: wget tries to use illegal chars in filename
Title: Bericht Use 1.8.2 or 1.9-beta. PREVINET S.p.A. [EMAIL PROTECTED]-- Via Ferretto, 1 ph x39-041-5907073-- I-31021 Mogliano V.to (TV) fax x39-041-5907472-- ITALY -Original Message-From: Carl S. in 't Veld [mailto:[EMAIL PROTECTED]]Sent: Sunday, June 30, 2002 1:01 PMTo: [EMAIL PROTECTED]Subject: wget tries to use illegal chars in filename When I try to download a url with wget with the questionmark or the amphersand in it, wget will fail since win32 does not support such characters. Can some developer implement special win32-code to ensure everything will go right? thanks in advance Carl in 't Veld DEBUG output created by Wget 1.8.1 on Windows. --11:57:32-- http://localhost/zoek/zoek.php?cd=8PHPSESSID=0eea7cfb730ce19ced0c0cbab290a57a = `zoek.php?cd=8PHPSESSID=0eea7cfb730ce19ced0c0cbab290a57a'Resolving localhost... done.Caching localhost = 127.0.0.1Connecting to localhost[127.0.0.1]:80... connected.Created socket 436.Releasing 008E0020 (new refcount 1).---request begin---GET /zoek/zoek.php?cd=8PHPSESSID=0eea7cfb730ce19ced0c0cbab290a57a HTTP/1.0 User-Agent: Wget/1.8.1 Host: localhost Accept: */* Connection: Keep-Alive ---request end---HTTP request sent, awaiting response... HTTP/1.1 200 OKServer: Microsoft-IIS/5.0Date: Sun, 30 Jun 2002 09:57:32 GMTX-Powered-By: PHP/4.1.2Expires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0Pragma: no-cacheContent-type: text/html Length: unspecified [text/html]zoek.php?cd=8PHPSESSID=0eea7cfb730ce19ced0c0cbab290a57a: Invalid argumentClosing fd 436 Cannot write to `zoek.php?cd=8PHPSESSID=0eea7cfb730ce19ced0c0cbab290a57a' (Invalid argument).
Re: user-agent string for IE
Thanks for reply and sorry for my long response. I was trying to use: --user-agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) But there was a syntax error: bash: syntax error near unexpected token (c' So what is the correct syntax? Thanks Jakub Jakub Grosman === PRIME TIME CS Janackovo nabrezi 51, 150 00 Praha 5 Tel:+420-2-5151-2013 GSM: +420-603-179297 http://www.primetime.cz http://www.e-telereport.cz === -- Original Text -- From: [EMAIL PROTECTED], on 26.6.2002 12:28: On 20/06/2002 10:03:13 jgrosman wrote: Hi all. [snip question about emulating IE in the User-agent string] Virtually all browsers start their User-Agent with Mozilla For IE 6, try something like Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) -- Csaba Ráduly, Software Engineer Sophos Anti-Virus email: [EMAIL PROTECTED]http://www.sophos.com US Support: +1 888 SOPHOS 9 UK Support: +44 1235 559933
Re: user-agent string for IE
Hello Jakub, try: --user-agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) (with quotes) Regards, Cedric Rosa. At 10:35 01/07/2002 +0100, you wrote: Thanks for reply and sorry for my long response. I was trying to use: --user-agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) But there was a syntax error: bash: syntax error near unexpected token (c' So what is the correct syntax? Thanks Jakub Jakub Grosman === PRIME TIME CS Janackovo nabrezi 51, 150 00 Praha 5 Tel:+420-2-5151-2013 GSM: +420-603-179297 http://www.primetime.cz http://www.e-telereport.cz === -- Original Text -- From: [EMAIL PROTECTED], on 26.6.2002 12:28: On 20/06/2002 10:03:13 jgrosman wrote: Hi all. [snip question about emulating IE in the User-agent string] Virtually all browsers start their User-Agent with Mozilla For IE 6, try something like Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) -- Csaba Ráduly, Software Engineer Sophos Anti-Virus email: [EMAIL PROTECTED]http://www.sophos.com US Support: +1 888 SOPHOS 9 UK Support: +44 1235 559933
space to %20
Hi. I'm using your wget program, but I have one problem. When I'm trying to download something (for instance: http://some.one.com/a b.mp3), the program stores it as a%20b.mp3. My sofftware is (RedHat 7.3, Athlon). I tried version 1.8.2-2 (from fr2.rpmfind.net), but there is a problem too. The last good-working is 1.6-2. Everything newer works wrong. Seems like bug or something (maybe bad configuration) in wget. Or could it be squid? (Squid/2.4.STABLE6) Thanx for your time.
Re: Feature Request: Stop on error from input url file list.
On 2002-06-29 21:09 -0400, Dang P. Tran wrote: I use the -i option to download files from an url list. The server I use have a password that change often. When I have a large list if the password change while I'm downloading and give 401 error, I want wget stop to prevent hammering the site with bad password. A workaround : $ echo '#!/bin/sh' wrapper $ echo 'wget $@ || kill $PPID' wrapper $ chmod +x wrapper $ xargs -n10 ./wrapper urllist If for whatever reason Wget exits with a non-zero status, xargs is killed. Thus the server will be hit at most 9 too many times. -- André Majorel [EMAIL PROTECTED] http://www.teaser.fr/~amajorel/