logo       


Re: wget a file with long path on Windows XP: msg#00086

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&username=wong_powah@xxxxxxxx&password=12345678
--23:24:23--  http://safari.informit.com/?x=1
           => `index.html@x=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

23:24:23 (0.00 B/s) - `index.html@x=1' 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 <fmccown@xxxxxxxxxx> 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 <fmccown@xxxxxxxxxx> 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
> > 
> >>>           =>
> >>>
> >
>
`index.html@x=1&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) -
> >>>
> >>
> >
>
`index.html@x=1&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
> > 
> >>>           =>
> >>>
> >
>
`index.html@x=1&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) -
> >>>
> >>
> >
>
`index.html@x=1&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
> >>>           =>
> >>>
> >
>
`index.html@x=1&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...
> >>
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe