Article View: news.software.nntp
Article #54937Re: RFC 977 - Question 2...
From: Curt Welch
Date: Tue, 30 Oct 2001 15:54
Date: Tue, 30 Oct 2001 15:54
27 lines
2178 bytes
2178 bytes
"Pyro [Paranoid]" <pyro@wild-fire.dtdns.netNOSPAMCHEERSMUCKER> wrote: > Hello again, > > Another question regarding the protocol... > > RFC977 talks of a "STAT" command, im probably missing something but i > dont understand its purpose, would anyone be so good as to enlighten me? It's not used much. I can't say I've ever found a need for it in any code I've written though I do tend to use it by hand from time to time. It's a simple way to check to see if an article exists, and to get its message-id. You get an error code if the article you requested doesn't exist or you get a 223 response along with the message-id if it does exist. If you have a Message-ID and want to check if the article is on the server, stat is probably the best way to do that (assuming you don't want the rest of the head or body at the same time). But normally, programs will use other commands like XOVER or XHDR or LISTGROUP to figure out what articles numbers are valid. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20011030105445.827$t7@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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed1.newsreader.com!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<9rmers$hj4$1@newsg4.svr.pol.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <20011030105445.827$t7@newsreader.com>
Subject: Re: RFC 977 - Question 2...
Date: Tue, 30 Oct 2001 15:54:45 +0000
From: curt@kcwc.com (Curt Welch)
References: <9rmers$hj4$1@newsg4.svr.pol.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed1.newsreader.com!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com JE4WECbmVlZ+Xbo=2JxD29kxIi=Wdb9R6ZXZ8KZOaT=Hif
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: 26