The mystery is that if I use the url 'http://www.google.com', like
> memo.Text := http.Get('http://www.google.com');
the EConvertError is not raised.
But if I use the url 'http://fotolog.terra.com.br/praias', the exception is
raised.
I think the url 'http://fotolog.terra.com.br/praias' points to a some
special kind of web content, because if we use it with a ':F' at the end,
like 'http://fotolog.terra.com.br/praias:F', the browser display another
page... even if we put ':1' or ':2'... it seems to work like some kind of
special parameters, therefore does 'http://fotolog.terra.com.br/praias' seem
to be a special web page? How can I get it content?
I´d be thankful for any advice.
Alexandre Sá
> Hi Everyone, I hope you could help me... I was trying do capture
> a url content by a Get method using IdHTTP Indy component, and
> I got the exception "EConvertError" with the message "Invalid
> argument to date encode" (for any Indy version).
Works fine for me.
> But if I use the url 'http://fotolog.terra.com.br/praias', the
> exception is raised.
I just tried that URL and it worked fine for me.
Gambit
Me too, with 9.0.14, some HTML text below from the quoted URL.
Rgds,
Martin
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script language="JavaScript">
<!--
document.focus();
//-->
</script>
<title>Praias e Cachoeiras - Terra Fotolog</title>
<STYLE>
<!--
a { text-decoration: none;
}
a:hover { text-decoration: underline;
}
.terra {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #000080;
text-decoration: underline
}
.titulo {
font-family: Verdana, sans-serif;
font-size: 24px;
font-weight: bold;
text-decoration: none;
padding-left:10px;
padding-top:5px;
color: #000080
}
.subtitulo {
font-family: Verdana, sans-serif;
font-size: 14px;
font-weight: bold;
color: #000080
}
.
"Martin James" <mjames...@dial.pipex.com> wrote in message
news:418f...@newsgroups.borland.com...
>
> It will help to me know that the problem probably is
> on my Delphi and/or Indy.
My guess would be that you are using a foreign date/time format on your
machine that the Internet date/time values cannot be translated into when
needed.
Gambit
"Remy Lebeau (TeamB)" <no....@no.spam.com> wrote in message