Re: Maybe a bug or something else for wget

2004-05-24 Thread Jens Rösner
Hi Ben!

Not at a bug as far as I can see.
Use -A to accept only certain files.
Furthermore, the pdf and ppt files are located across various servers, 
you need to allow wget to parse other servers than the original one by -H 
and then restrict it to only certain ones by -D.

wget -nc -x -r -l2 -p -erobots=off -t10 -w2 --random-wait --waitretry=7 -U
Mozilla/4.03 [en] (X11; I; SunOS 5.5.1 sun4u)
--referer=http://devresource.hp.com/drc/topics/utility_comp.jsp; -k -v
-A*.ppt,*.pdf,utility_comp.jsp -H -Dwww.hpl.hp.com,www.nesc.ac.uk  
http://devresource.hp.com/drc/topics/utility_comp.jsp

works for me. It was generated using my gui front-end to wget, so it is not
streamlined ;)

Jens



 Hi,
 How can I download all pdf and ppt file by the following url with command
 line of:
 
 wget -k -r -l 1 http://devresource.hp.com/drc/topics/utility_comp.jsp
 
 I am on windows 2000 server sp4 with latest update.
 
 E:\Releasewget -V
 GNU Wget 1.9.1
 
 Copyright (C) 2003 Free Software Foundation, Inc.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 Originally written by Hrvoje Niksic [EMAIL PROTECTED].
 
 
 Thank you for your nice work.
 
 Ben
 

-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl



Maybe a bug or something else for wget

2004-05-23 Thread Gao, Ruidong








Hi,
How can I download all pdf and ppt
file by the following url
with command line of:

wget -k -r -l 1 http://devresource.hp.com/drc/topics/utility_comp.jsp

I am on windows 2000 server sp4 with latest update.

E:\Releasewget -V
GNU Wget 1.9.1

Copyright (C) 2003 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied
warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
GNU General Public License for more details.

Originally written by Hrvoje Niksic [EMAIL PROTECTED].


Thank you for your nice work.

Ben