I think you need to put "quotes" around the url.


PoWah Wong wrote:
The file I want to get is
"http://proquest.booksonline.com/JVXSL.asp?x=1&mode=section&sortKey=rank&sortOrder=desc&view=book&xmlid=0-321-16076-2/ch02&g=&srchText=object+oriented&code=&h=&m=&l=1&catid=&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=1&a=0&page=0";


I opened an MSDOS console on Windows XP.

I tried:
"C:\Program Files\wget\wget.exe"
http://proquest.booksonline.com/JVXSL.asp?x=1&mode=section&sortKey=rank&sortOrder=desc&view=book&xmlid=0-321-16076-2/ch02&g=&srchText=object+oriented&cod
e=&h=&m=&l=1&catid=&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=1&a=0&page=0
--05:33:34-- http://proquest.booksonline.com/JVXSL.asp?x=1
           => [EMAIL PROTECTED]'
Resolving proquest.booksonline.com... 193.194.158.201
Connecting to
proquest.booksonline.com|193.194.158.201|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]

[ <=> ] 0 --.--K/s

05:33:34 (0.00 B/s) - [EMAIL PROTECTED]' saved [0/0]

Invalid parameter - =section
'sortKey' is not recognized as an internal or external
command,
operable program or batch file.
'sortOrder' is not recognized as an internal or
external command,
operable program or batch file.
'view' is not recognized as an internal or external
command,
operable program or batch file.
'xmlid' is not recognized as an internal or external
command,
operable program or batch file.
'g' is not recognized as an internal or external
command,
operable program or batch file.
'srchText' is not recognized as an internal or
external command,
operable program or batch file.
'code' is not recognized as an internal or external
command,
operable program or batch file.
'h' is not recognized as an internal or external
command,
operable program or batch file.
'm' is not recognized as an internal or external
command,
operable program or batch file.
'l' is not recognized as an internal or external
command,
operable program or batch file.
'catid' is not recognized as an internal or external
command,
operable program or batch file.
's' is not recognized as an internal or external
command,
operable program or batch file.
'b' is not recognized as an internal or external
command,
operable program or batch file.
'f' is not recognized as an internal or external
command,
operable program or batch file.
't' is not recognized as an internal or external
command,
operable program or batch file.
'c' is not recognized as an internal or external
command,
operable program or batch file.
'u' is not recognized as an internal or external
command,
operable program or batch file.
'r' is not recognized as an internal or external
command,
operable program or batch file.
'o' is not recognized as an internal or external
command,
operable program or batch file.
'n' is not recognized as an internal or external
command,
operable program or batch file.
'd' is not recognized as an internal or external
command,
operable program or batch file.
'p' is not recognized as an internal or external
command,
operable program or batch file.
'a' is not recognized as an internal or external
command,
operable program or batch file.
'page' is not recognized as an internal or external
command,
operable program or batch file.



Then I change "&" to "%26".
It had less error but it get only an empty file:
"C:\Program Files\wget\wget.exe" http://proquest.booksonline.com/JVXSL.asp?x=1%26mode
=section%26sortKey=rank%26sortOrder=desc%26view=book%26xmlid=0-321-16076-2/ch02%26g=%26srchText=obje
ct+oriented%26code=%26h=%26m=%26l=1%26catid=%26s=1%26b=1%26f=1%26t=1%26c=1%26u=1%26r=%26o=1%26n=1%26
d=1%26p=1%26a=0%26page=0
--05:29:12-- http://proquest.booksonline.com/JVXSL.asp?x=1%26mode=section%26sortKey=rank%26so
rtOrder=desc%26view=book%26xmlid=0-321-16076-2/ch02%26g=%26srchText=object+oriented%26code=%26h=%26m
=%26l=1%26catid=%26s=1%26b=1%26f=1%26t=1%26c=1%26u=1%26r=%26o=1%26n=1%26d=1%26p=1%26a=0%26page=0
           =>
[EMAIL 
PROTECTED]&mode=section&sortKey=rank&sortOrder=desc&view=book&xmlid=0-321-16076-2%
2Fch02&g=&srchText=object+oriented&code=&h=&m=&l=1&catid=&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=1
&a=0&page=0'
Resolving proquest.booksonline.com... 193.194.158.201
Connecting to
proquest.booksonline.com|193.194.158.201|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]

[ <=> ] 0 --.--K/s

05:29:13 (0.00 B/s) -
[EMAIL 
PROTECTED]&mode=section&sortKey=rank&sortOrder=desc&view=book&xmlid=0-321-
16076-2%2Fch02&g=&srchText=object+oriented&code=&h=&m=&l=1&catid=&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1
&d=1&p=1&a=0&page=0' saved [0/0]


The wget version is 1.10.
I am not subscribed, please cc'd in replies to my
post.
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

--
Frank McCown
Old Dominion University
http://www.cs.odu.edu/~fmccown

Reply via email to