--spider

2002-07-18 Thread Reinhold Jordan

Hi,

I've found out, that --spider and -O/dev/null works different.

  wget --spider http://www.thinkphp.de

return error. While

  wget -O/dev/null http://www.thinkphp.de

success. What is the different?

Regards, Reinhold

-- 
   Reinhold Jordan
WWW: http://reinhold.bachrain.deMail: [EMAIL PROTECTED]
Do you pine for the nice days of minix-1.1, when men were men
and wrote their own device drivers? Linus



Re: --spider

2002-07-18 Thread Ced

Hello Reinhold,

Thursday, July 18, 2002, 10:38:25 AM, you wrote:

RJ Hi,

RJ I've found out, that --spider and -O/dev/null works different.

RJ   wget --spider http://www.thinkphp.de

RJ return error. While

RJ   wget -O/dev/null http://www.thinkphp.de

RJ success. What is the different?

--spider doesn't download files, just get header

-O /dev/null download the files, but doesn't save it (it saves in
/dev/null)



-- 
Best regards,
 Cedmailto:[EMAIL PROTECTED]

 
__
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif





HTML served over FTP

2002-07-18 Thread Andre Majorel

I'm trying to snarf a web site that is served over FTP. wget -r
doesn't work probably because Wget doesn't parse HTML documents
retrieved with FTP (which is reasonable).

Is there a sort of --follow-html option to force Wget to parse
HTML documents served over FTP and follow the links, as if they
came from HTTP ?

-- 
André Majorel URL:http://www.teaser.fr/~amajorel/
std::disclaimer (Not speaking for my employer);



http.c Line 878

2002-07-18 Thread Muller, Erich

In the file http.c, of wget-1.8.2, the following conditional compilation
appears.

/* Send the request to server.  */
#ifdef HAVE_SSL
  if (conn-scheme == SCHEME_HTTPS)
num_written = ssl_iwrite (ssl, request, strlen (request));
  else
#endif /* HAVE_SSL */
num_written = iwrite (sock, request, strlen (request));

I would seem that Line 878, [num_written = iwrite (sock, request, strlen
(request));]  would be AFTER the else no after the #endif.

As coded, num_written is ALWAYS assigned by line 878 regardless of the
condition.  Is that the intended action?

Erich Muller
[EMAIL PROTECTED]