Article View: news.software.nntp
Article #64064Re: Suggestings for NNTP command with attachment app
From: Juergen Helbing
Date: Mon, 17 Feb 2003 07:40
Date: Mon, 17 Feb 2003 07:40
59 lines
3061 bytes
3061 bytes
"Tom" <webview@rcn.com> wrote: >The idea is I need to read all the articles (at least the headers) of a >group to determine if there is a binary file attached. I understand how to >do that, but I am looking for the most efficient way (so the server isn't >bogged down). The best way is actually to use the XHDR command with "Subject" as parameters. >Also, on some binary "grabbers", there are options like "read nn number of >lines to determine if post is binary", where nn is a number that can be >entered (usually defaulting to 50). I'm actually implementing a feature to lockout clients which are doing this. NNTP does actually not permit to fetch partial articles. > I am assuming that this is the first nn lines of the body. Would that mean >the grabber is getting the entire post in a group (unless there is a way to >get the first nn lines of an article)? Getting every post would effectively >mean it is downloading all the binaries in the group, which is not the case. You cannot fetch 10.000 partial articles. This takes hours. Short tips: The best current way to fetch binaries from the Usenet is actually to evaluate the subject line. If you are finding filenames there (or the message is large enough) then it contains a binary (in most cases). yEncoded messages have the filename enclosed in quotes. Multiparts are indicated by (2/7) - with round brackets. MultiPosts (many files) are indicated by [3/200] - with square brackets Dont try try to download incomplete multiparts. This is a waste of time. Posts without a filename (check for the extension type: .jpg .rm .mp3 .rar ..) are almost crap. You'll need a few weeks/months of experience to find out that writing automatic binary downloaders is hard work. If you're just looking for a program yourself, then use one of the existing programs. BNR, Super Gravity, MyNews, ... There is enough freeware. If you want to create a program professionally to sell it: Better find another market segment. Becoming better than the existing programs and companies takes 2-3 years. Your chances to succeed are very low. Usenet is not 'just another Internet app' - but a very special method to distribute news. I needed four years to have MyNews where it is today. Good luck. -- Juergen
Technical Details
Message-ID:
<57408.h23208@archiver.winews.net>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!news.alt.net!usenetReferences:
<G_acnQL_QMldWtKjXTWcoQ@giganews.com>Show Full Headers
Complete Article Headers
Message-ID: <57408.h23208@archiver.winews.net> Subject: Re: Suggestings for NNTP command with attachment app Date: Mon, 17 Feb 2003 07:40:57 +0000 From: archiver@i3w.com (Juergen Helbing) References: <G_acnQL_QMldWtKjXTWcoQ@giganews.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!news.alt.net!usenet Newsgroups: news.software.nntp Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Lines: 58 X-Newsreader: MyNews