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



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


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

 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 insert command here, and I got this result insert result
here, but I was expecting something more like this insert expected
result here, and I definitely didn't expect this insert undesirable
result here.



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