RE: wget a file with long path on Windows XP

2005-07-21 Thread PoWah Wong
I can save cookies but still has wgetting a blank web
page.  The web page url is copied from the url
displayed in the web browser.
These are the logs.

"C:\Program Files\wget\wget" --save-cookies
cookies.txt "http://safari.informit.com/JVXSL.asp";
--post-data="s=1&o=1&b=1&t=1&f=1&c=1&u=1&r=&l=1&g=&n=1&d=1&a=0&[EMAIL 
PROTECTED]&pwd=123&savepwd=1"
--21:41:38--  http://safari.informit.com/JVXSL.asp
   => `JVXSL.asp'
Resolving safari.informit.com... 193.194.158.208
Connecting to
safari.informit.com|193.194.158.208|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12,149 (12K) [text/html]

100%[>]
12,14948.76K/s

21:41:39 (48.63 KB/s) - `JVXSL.asp' saved
[12149/12149]


First wget:
"C:\Program Files\wget\wget" --load-cookies
cookies.txt
"http://safari.informit.com/JVXSL.asp?x=1&mode=section&sortKey=rank&sortOrder=desc&view=&g=&catid=itbooks.network.ciscoios&s=1&b=1&f=1&t
=1&c=1&u=1&r=&o=1&n=1&d=1&p=1&a=0&xmlid=0-596-00367-6/ciscockbk-CHP-1"
--21:43:31-- 
http://safari.informit.com/JVXSL.asp?x=1&mode=section&sortKey=rank&sortOrder=desc&view
=&g=&catid=itbooks.network.ciscoios&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=1&a=0&xmlid=0-596-00367
-6/ciscockbk-CHP-1
   =>
[EMAIL 
PROTECTED]&mode=section&sortKey=rank&sortOrder=desc&view=&g=&catid=itbooks.network
.ciscoios&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=1&a=0&xmlid=0-596-00367-6%2Fciscockbk-CHP-1'
Resolving safari.informit.com... 193.194.158.208
Connecting to
safari.informit.com|193.194.158.208|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]

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

21:43:32 (0.00 B/s) -
[EMAIL 
PROTECTED]&mode=section&sortKey=rank&sortOrder=desc&view=&g=&catid=itbooks
.network.ciscoios&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=1&a=0&xmlid=0-596-00367-6%2Fciscockbk-CHP
-1' saved [0/0]

Second wget:
"C:\Program Files\wget\wget" --load-cookies
cookies.txt --keep-session-cookies
"http://safari.informit.com/JVXSL.asp?x=1&mode=section&sortKey=rank&sortOrder=desc&view=&g=&catid=itbooks.network
.ciscoios&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=1&a=0&xmlid=0-596-00367-6/ciscockbk-CHP-1"
--21:45:31-- 
http://safari.informit.com/JVXSL.asp?x=1&mode=section&sortKey=rank&sortOrder=desc&view
=&g=&catid=itbooks.network.ciscoios&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=1&a=0&xmlid=0-596-00367
-6/ciscockbk-CHP-1
   =>
[EMAIL 
PROTECTED]&mode=section&sortKey=rank&sortOrder=desc&view=&g=&catid=itbooks.network
.ciscoios&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=1&a=0&xmlid=0-596-00367-6%2Fciscockbk-CHP-1'
Resolving safari.informit.com... 193.194.158.208
Connecting to
safari.informit.com|193.194.158.208|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]

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

21:45:31 (0.00 B/s) -
[EMAIL 
PROTECTED]&mode=section&sortKey=rank&sortOrder=desc&view=&g=&catid=itbooks
.network.ciscoios&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=1&a=0&xmlid=0-596-00367-6%2Fciscockbk-CHP
-1' saved [0/0]

I am not subscribed, please cc'd in replies to my
post. Thanks. 

--- Tony Lewis <[EMAIL PROTECTED]> wrote:

> PoWah Wong wrote: 
> 
> > The login page is:
> > http://safari.informit.com/?FPI=&uicode=
> >
> > How to figure out the login command?
> >
> [snip]
>
> So your first wget command line
> will look something like
> this:
> 
> wget --save-cookies cookies.txt
> "http://safari.informit.com/JVXSL.asp";
>
--post-data="s=1&o=1&b=1&t=1&f=1&c=1&u=1&r=&l=1&g=&n=1&d=1&a=0&usr=wong_powa
> [EMAIL PROTECTED]&pwd=123&savepwd=1"
> 
> Hope that helps!
> 
> Tony







___
Post your free ad now! http://personals.yahoo.ca


RE: wget a file with long path on Windows XP

2005-07-21 Thread PoWah Wong
The login page is:
http://safari.informit.com/?FPI=&uicode=

How to figure out the login command?

These two commands do not work:

"C:\Program Files\wget\wget" --save-cookies
cookies.txt
"http://safari.informit.com/?FPI=&[EMAIL PROTECTED]&password=123"
"C:\Program Files\wget\wget" --save-cookies
cookies.txt
"http://safari.informit.com/?FPI=&uicode=/[EMAIL PROTECTED]&password=123"

The cookies.txt is always empty:
# HTTP cookie file.
# Generated by Wget on 2005-07-21 07:55:47.
# Edit at your own risk.

Detailed log for the second command is:

"C:\Program Files\wget\wget" --save-cookies
cookies.txt "http://safari.informit.com/?FPI=&ui
code=/[EMAIL PROTECTED]&password=123"
--07:55:47-- 
http://safari.informit.com/?FPI=&uicode=/[EMAIL PROTECTED]&passwor
d=123
   =>
[EMAIL PROTECTED]&[EMAIL PROTECTED]&password=123.1
'
Resolving safari.informit.com... 193.194.158.208
Connecting to
safari.informit.com|193.194.158.208|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]

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

07:55:47 (0.00 B/s) -
[EMAIL PROTECTED]&[EMAIL PROTECTED]&password=123.1'
saved [0/0]


I am not subscribed, please cc'd in replies to my
post. Thanks. 

--- Tony Lewis <[EMAIL PROTECTED]> wrote:

> You need to quote the URL because it contains
> characters that are
> interpreted by the shell (and therefore are never
> passed to wget).
> 
> Tony
> -Original Message-
> From: PoWah Wong [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 20, 2005 8:35 PM
> To: wget@sunsite.dk
> Subject: Re: wget a file with long path on Windows
> XP
> 
> This does not work, please help.
> 
> 
> "C:\Program Files\wget\wget" --save-cookies
> cookies.txt
>
http://safari.informit.com/?x=1&mode=Logout&sortKey=title&sortOrder=asc&view
>
=&xmlid=&g=&catid=&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=
> 1&a=0&[EMAIL PROTECTED]&password=12345678
> --23:24:23--  http://safari.informit.com/?x=1
>=> [EMAIL PROTECTED]'
> Resolving safari.informit.com... 193.194.158.208
> Connecting to
> safari.informit.com|193.194.158.208|:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 0 [text/html]
> 
> [ <=>   
>  
>] 0 --.--K/s
> 
> 23:24:23 (0.00 B/s) - [EMAIL PROTECTED]' saved [0/0]
> 
> Invalid parameter - =Logout
> '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.
> '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.
> 'username' is not recognized as an internal or
> external command, operable
> program or

Re: wget a file with long path on Windows XP

2005-07-20 Thread PoWah Wong
This does not work, please help.


"C:\Program Files\wget\wget" --save-cookies
cookies.txt
http://safari.informit.com/?x=1&mode=Logout&sortKey=title&sortOrder=asc&view=&xmlid=&g=&catid=&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n=1&d=1&p=
1&a=0&[EMAIL PROTECTED]&password=12345678
--23:24:23--  http://safari.informit.com/?x=1
   => [EMAIL PROTECTED]'
Resolving safari.informit.com... 193.194.158.208
Connecting to
safari.informit.com|193.194.158.208|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]

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

23:24:23 (0.00 B/s) - [EMAIL PROTECTED]' saved [0/0]

Invalid parameter - =Logout
'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.
'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.
'username' is not recognized as an internal or
external command,
operable program or batch file.
'password' is not recognized as an internal or
external command,
operable program or batch file.


I am not subscribed, please cc'd in replies to my
post. Thanks. 

--- Frank McCown <[EMAIL PROTECTED]> wrote:

> This sounds like a difficult page to download
> because they may be using 
> cookies or session variables.  I'm not sure the best
> way to proceed, but 
> I would look at the wget documentation about
> cookies.  I think you may 
> have to save the cookies that are generated by the
> login page and use 
> --load-cookie to get the page you are after.
> 
> By the way, if you are only after a single page, why
> not just save it 
> using the browser?
> 
> Frank
> 
> 
> PoWah Wong wrote:
> > The website is actually www.informit.com.
> > It require logging in at
> >
>
https://secure.safaribooksonline.com/promo.asp?code=ITT03&portal=informit&a=0
> > After logging in, then the website becomes similar
> to
> > booksonline.com which I edit slightly.
> > My public library's electronic access which also
> > require logging in.
> > 
> > 
> > --- Frank McCown <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>Putting quotes around the url got rid of your
> >>"Invalid parameter" errors.
> >>
> >>I just tried accessing the url you are trying to
> >>wget and received an 
> >>http 500 response.  I also tried accessing 
> >>http://proquest.booksonline.com/ and never got a
> >>response.
> >>
> >>According to your output, wget got back a 0 length
> >>response.  I would 
> >>check your web server and make sure it is working
> >>properly.
> >>
> >>Frank
> >>
> >>
> >>PoWah Wong wrote:
> >>
> >>>I put "quotes" around the url, but it still does
> >>
> >>not
> >>
> >>>work.
> >>>
> >>>C:\book>"C:\Program Files\wget\wget.exe"
> >>>
> >>
> >
>
"

Re: wget a file with long path on Windows XP

2005-07-12 Thread PoWah Wong
The website is actually www.informit.com.
It require logging in at
https://secure.safaribooksonline.com/promo.asp?code=ITT03&portal=informit&a=0
After logging in, then the website becomes similar to
booksonline.com which I edit slightly.
My public library's electronic access which also
require logging in.


--- Frank McCown <[EMAIL PROTECTED]> wrote:

> Putting quotes around the url got rid of your
> "Invalid parameter" errors.
> 
> I just tried accessing the url you are trying to
> wget and received an 
> http 500 response.  I also tried accessing 
> http://proquest.booksonline.com/ and never got a
> response.
> 
> According to your output, wget got back a 0 length
> response.  I would 
> check your web server and make sure it is working
> properly.
> 
> Frank
> 
> 
> PoWah Wong wrote:
> > I put "quotes" around the url, but it still does
> not
> > work.
> > 
> > C:\book>"C:\Program Files\wget\wget.exe"
> >
>
"http://proquest.booksonline.com/?x=1&mode=section&so
> >
>
rtKey=title&sortOrder=asc&view=&xmlid=0-321-16076-2/ch03lev1sec1&g=&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"
> > --22:45:26-- 
> >
>
http://proquest.booksonline.com/?x=1&mode=section&sortKey=title&sortOrder=asc&vi
> >
>
ew=&xmlid=0-321-16076-2/ch03lev1sec1&g=&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
> > 
> >=>
> >
>
[EMAIL 
PROTECTED]&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-321-16076-2%2Fc
> >
>
h03lev1sec1&g=&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
> > 
> > 22:45:27 (0.00 B/s) -
> >
>
[EMAIL PROTECTED]&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-321-160
> >
>
76-2%2Fch03lev1sec1&g=&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]
> > 
> > 
> > C:\book>"C:\Program Files\wget\wget.exe"
> >
>
"http://proquest.booksonline.com/?x=1&mode=section&so
> >
>
rtKey=title&sortOrder=asc&view=&xmlid=0-321-16076-2/ch03lev1sec1&g=&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"
> > --22:46:59-- 
> >
>
http://proquest.booksonline.com/?x=1&mode=section&sortKey=title&sortOrder=asc&vi
> >
>
ew=&xmlid=0-321-16076-2/ch03lev1sec1&g=&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
> > 
> >=>
> >
>
[EMAIL 
PROTECTED]&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-321-16076-2%2Fc
> >
>
h03lev1sec1&g=&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
> > 
> > 22:46:59 (0.00 B/s) -
> >
>
[EMAIL PROTECTED]&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-321-160
> >
>
76-2%2Fch03lev1sec1&g=&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]
> > 
> > 
> > C:\book>"C:\Program Files\wget\wget.exe"
> >
>
"http://proquest.booksonline.com/?x=1%26mode=section%
> >
>
26sortKey=title%26sortOrder=asc%26view=%26xmlid=0-321-16076-2/ch03lev1sec1%26g=%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"
> > --22:47:45-- 
> >
>
http://proquest.booksonline.com/?x=1%26mode=section%26sortKey=title%26sortOrder=
&g

Re: wget a file with long path on Windows XP

2005-07-11 Thread PoWah Wong
I put "quotes" around the url, but it still does not
work.

C:\book>"C:\Program Files\wget\wget.exe"
"http://proquest.booksonline.com/?x=1&mode=section&so
rtKey=title&sortOrder=asc&view=&xmlid=0-321-16076-2/ch03lev1sec1&g=&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"
--22:45:26-- 
http://proquest.booksonline.com/?x=1&mode=section&sortKey=title&sortOrder=asc&vi
ew=&xmlid=0-321-16076-2/ch03lev1sec1&g=&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

   =>
[EMAIL 
PROTECTED]&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-321-16076-2%2Fc
h03lev1sec1&g=&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

22:45:27 (0.00 B/s) -
[EMAIL PROTECTED]&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-321-160
76-2%2Fch03lev1sec1&g=&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]


C:\book>"C:\Program Files\wget\wget.exe"
"http://proquest.booksonline.com/?x=1&mode=section&so
rtKey=title&sortOrder=asc&view=&xmlid=0-321-16076-2/ch03lev1sec1&g=&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"
--22:46:59-- 
http://proquest.booksonline.com/?x=1&mode=section&sortKey=title&sortOrder=asc&vi
ew=&xmlid=0-321-16076-2/ch03lev1sec1&g=&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

   =>
[EMAIL 
PROTECTED]&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-321-16076-2%2Fc
h03lev1sec1&g=&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

22:46:59 (0.00 B/s) -
[EMAIL PROTECTED]&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-321-160
76-2%2Fch03lev1sec1&g=&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]


C:\book>"C:\Program Files\wget\wget.exe"
"http://proquest.booksonline.com/?x=1%26mode=section%
26sortKey=title%26sortOrder=asc%26view=%26xmlid=0-321-16076-2/ch03lev1sec1%26g=%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"
--22:47:45-- 
http://proquest.booksonline.com/?x=1%26mode=section%26sortKey=title%26sortOrder=
asc%26view=%26xmlid=0-321-16076-2/ch03lev1sec1%26g=%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=title&sortOrder=asc&view=&xmlid=0-321-16076-2%2Fc
h03lev1sec1&g=&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

22:47:46 (0.00 B/s) -
[EMAIL PROTECTED]&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-321-160
76-2%2Fch03lev1sec1&g=&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]


--- Frank McCown <[EMAIL PROTECTED]> wrote:

> 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:
&

wget a file with long path on Windows XP

2005-07-06 Thread PoWah Wong
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