Re: wget suggestion

2007-05-03 Thread Steven M. Schweda
From: Robert La Ferla

> GNU Wget 1.10.2

   Ok.  Running on what?

> Capture this sub-site and not the rest of the site so that you can  
> view it locally.  i.e.  just www.boston.com and cache.boston.com
> 
> http://www.boston.com/ae/food/gallery/cheap_eats/

   What is a "sub-site"?  Do you mean this page, or this page and all
the pages to which it links, excluding off-site pages, or what?

   I have a better idea.  Read this again:

> >Can you provide any evidence that "it doesn't"?  Useful info might
> > include the wget version, your OS and version, the command you  
> > used, and
> > the results you got.  Adding "-d" to the command often reveals more  
> > than
> > not using it.  A real example is usually more useful than a fictional
> > example.
> >
> >If you can't exhibit the actual failure and explain how to  
> > reproduce
> > it, you might do better with a psychic hot-line, as most of us are not
> > skilled in remote viewing.

   You might also consider phrasing your demands as polite requests in
future.  Phrases like "I would like to learn how to", or "Can you
explain how to" can be useful for this.  Even better would be, "I tried
this command , and I got this result , but I was expecting something more like this , and I definitely didn't expect this ."



   Steven M. Schweda   [EMAIL PROTECTED]
   382 South Warwick Street(+1) 651-699-9818
   Saint Paul  MN  55105-2547


Re: wget suggestion

2007-05-03 Thread Robert La Ferla

GNU Wget 1.10.2

Capture this sub-site and not the rest of the site so that you can  
view it locally.  i.e.  just www.boston.com and cache.boston.com


http://www.boston.com/ae/food/gallery/cheap_eats/


On May 3, 2007, at 10:34 PM, Steven M. Schweda wrote:


From: Robert La Ferla

There needs to be a way to tell wget to reject all domains EXCEPT  
those

that are accepted. This should include subdomains. Ie. I just want to
download www.mydomain.com and cache.mydomain.com. I thought the
--domains option would work this way but it doesn't.


   Can you provide any evidence that "it doesn't"?  Useful info might
include the wget version, your OS and version, the command you  
used, and
the results you got.  Adding "-d" to the command often reveals more  
than

not using it.  A real example is usually more useful than a fictional
example.

   If you can't exhibit the actual failure and explain how to  
reproduce

it, you might do better with a psychic hot-line, as most of us are not
skilled in remote viewing.

-- 
--


   Steven M. Schweda   [EMAIL PROTECTED]
   382 South Warwick Street(+1) 651-699-9818
   Saint Paul  MN  55105-2547




Re: wget suggestion

2007-05-03 Thread Steven M. Schweda
From: Robert La Ferla

> There needs to be a way to tell wget to reject all domains EXCEPT those
> that are accepted. This should include subdomains. Ie. I just want to
> download www.mydomain.com and cache.mydomain.com. I thought the
> --domains option would work this way but it doesn't.

   Can you provide any evidence that "it doesn't"?  Useful info might
include the wget version, your OS and version, the command you used, and
the results you got.  Adding "-d" to the command often reveals more than
not using it.  A real example is usually more useful than a fictional
example.

   If you can't exhibit the actual failure and explain how to reproduce
it, you might do better with a psychic hot-line, as most of us are not
skilled in remote viewing.



   Steven M. Schweda   [EMAIL PROTECTED]
   382 South Warwick Street(+1) 651-699-9818
   Saint Paul  MN  55105-2547


wget suggestion

2007-05-03 Thread Robert La Ferla
There needs to be a way to tell wget to reject all domains EXCEPT  
those that are accepted.  This should include subdomains.  Ie.  I  
just want to download www.mydomain.com and cache.mydomain.com.  I  
thought the --domains option would work this way but it doesn't.





Re: Requests are always HTTP/1.0 ?!

2007-05-03 Thread Greg Lindahl
As a concrete example where wget's HTTP/1.0 header causes an issue,
I'm evaluating a Juniper DX web cache, and it is sending a different
response to wget than to a browser, thanks to the HTTP/1.0 query. (When
I sent the original email I hadn't confirmed this was true, it is.)

I think this is actually a bug in Juniper's software, and have
reported it to Juniper, but, it should be no surprise that acting
different from 99% of web queries (which are 1.1) can cause problems
for wget users.

-- greg




Wget error codes?

2007-05-03 Thread Robert Denton
Hi all, where can I get a list of the different return codes and what  
they mean?  For example:


WGET: http://example.domain.tld Cant get file: content.piz and save  
locally as: /var/www/html/content.piz Return code: wget exited with  
value 2


What is return value 2?  What does it indicate?  Thanks!

Robert