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

RE: wget a file with long path on Windows XP

2005-07-21 Thread Tony Lewis
PoWah Wong wrote: > The login page is: > http://safari.informit.com/?FPI=&uicode= > > How to figure out the login command? > > These two commands do not work: > > wget --save-cookies cookies.txt "http://safari.informit.com/?FPI= [snip]" > wget --save-cookies cookies.txt "http://safari.informit.co

RE: wget a file with long path on Windows XP

2005-07-21 Thread PoWah Wong
ntains > 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 fil

RE: wget a file with long path on Windows XP

2005-07-20 Thread Tony Lewis
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

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.i

Re: wget a file with long path on Windows XP

2005-07-13 Thread Frank McCown
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-co

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 logg

Re: wget a file with long path on Windows XP

2005-07-12 Thread Frank McCown
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 len

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

Re: wget a file with long path on Windows XP

2005-07-07 Thread Frank McCown
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