Is there any particular reason the --spider option requires
--recursive? As it is now, we run into the following error if we omit
--recursive:

[EMAIL PROTECTED]:~/cprojects/wget/src$ ./wget
http://www.google.com --spider
Spider mode enabled. Check if remote file exists.
--00:37:21--  http://www.google.com/
Resolving www.google.com... 209.85.165.147, 209.85.165.104, 209.85.165.99, ...
Connecting to www.google.com|209.85.165.147|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]
Remote file exists but recursion is disabled -- not retrieving.

[EMAIL PROTECTED]:~/cprojects/wget/src$

The only explanation I can think of is that it serves the purpose of
checking whether a file exists.

Should --spider imply --recursive?

Reply via email to