Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : IdNNTP - 500 Error from Server
| Subject: | IdNNTP - 500 Error from Server |
| Posted by: | "Jack MacRank" (ja..@macrank.com) |
| Date: | Thu, 22 Jun 2006 17:59:14 |
Hi,
I'm using an IdNNTP (v10.1.5 / 6/22/06 snapshot) component in Delphi 7 to
test out posting with Giganews (popular pay news service). Everything is
great except when I call IdNNTP.Disconnect and an error pops-up saying "500
syntax error or unknown command".
I ran a sniffer and got this:
From Server: 240 post accepted.
From Client: Quit
From Server: 500 syntax error or unknown command
From Server: 205 goodbye
When I try IdNNTP.Disconnect(False) there is no error but that might cause
ghost connections.
Should I just wrap a try...except around Disconnect or is there another
solution?
Thanks for your help in advance!