Article View: news.software.nntp
Article #68896Re: Writing news reader ...
From: Curt Welch
Date: Thu, 01 Apr 2004 20:32
Date: Thu, 01 Apr 2004 20:32
55 lines
3713 bytes
3713 bytes
gambler@techemail.com (Dan Mocharnouk) wrote: > I am trying to do a project to write a toy news client. I hope it's not a spam posting tool or something intented to disrupt Usenet. > To write properly, I am doing hand experience by sending > commands. I am trying a few news servers. On most of > them I have successfully tried basic things like > getting date article body, posting etc. On one of them > I am having problem with post command. When I give a dot, > it does not do anything. It just sits there. With that one > when I say post followed immediately by a dot, it says > incomplete. I have tried dot after one or more header and > it says incomplete. But if I put message text and put dot, > it does nothing. The following is help output from > that server. If you want to know the server, send > me an email. What is (GC 2.4.74) ? That means nothing to me. Looks like a software version number however. It might be the version number of the server you are using though putting it in the help output seems odd to me for a Usenet server. Sounds like something a PC programmer would do since windows apps like to put version information in the "about" section of the Help menu. Usenet servers tend to put version numbers in the initial greeting message you get when you first connect. > Is it a \r > problem? I doubt it, but it could be related to that. If you are doing this on a telnet client, it will deal with sending CR LF when you hit enter so you shouldn't have to worry about that. And if the same technique is working on other servers, it should work on all servers. > I have tried to read the rfc and tried putting > \r after every line of message text ie crlf but there > is no success. ie have tried a bunch of possibilities > with this one server w/o success. Maybe you just didn't wait long enough? The server might be slow because it's sending to a posting server to do filtering and the posting server might just be overloaded so it takes a long time to respond? This is just a guess. But it sounds like you are doing things correctly. If you use just about any telnet client and type commands to the server manually, you should be able to post, and the server should respond failry quickly after you type the closing dot. If it didn't like the post for some reason, you should get an error response. If you don't have permission to post, you should still get an error response fairly qucikly. You could try asking the people that run the server. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20040401153218.352$zq@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<20040401153158435.MAN058994@techemail.com>Show Full Headers
Complete Article Headers
Message-ID: <20040401153218.352$zq@newsreader.com>
Subject: Re: Writing news reader ...
Date: Thu, 01 Apr 2004 20:32:18 +0000
From: curt@kcwc.com (Curt Welch)
References: <20040401153158435.MAN058994@techemail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com vfzs9o,BqnUQbFvK7f3MZZ+f7fH+8vIFa25DCF3..jGp8F
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,
?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 55