🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59964

Re: Tech Question: How to programmatically determine attachment encoding method (base64, MIME, UUEncode, Yenc)?

#59964
From: Jeffrey M. Vinocur
Date: Tue, 20 Aug 2002 21:50
33 lines
2314 bytes
In article <um4up98ldl41dd@news.supernews.com>,
Andy H <andyh@nospam.com> wrote:
>I am in the process of writing an NNTP search tool (much like the now
>defunct NewsFerret) which will allow one to search through headers by
>subject on the NNTP server (rather than having to download hundreds of megs
>of headers and search on the client).

You realize some clients allow downloading of just the headers
first?


>Obviously I want to add attachment
>processing to this tool to allow binary attachment downloading.  Being new
>to this, I am wondering if there is a primer or any sort of documentation
>for the various possible encoding schemes as well as a way I can determine
>which one is being used.  Browsing some msgs, I do not see any specific
>header fields which say anything about the encoding, so I am assuming
>everything is in the body.  Any help or direction would be greatly
>appreciated.  Thanks in advance!

Two things:

- Read the article at
  http://www.newsreaders.com/misc/twpierce/news/newsreader-manifesto.html
- Search the archives of this group (and news.software.readers, I
  suppose) for discussion about detecting attachments.  It's not
  pretty.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <ajudil$l4t$2@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.mime.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <um4up98ldl41dd@news.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <ajudil$l4t$2@puck.litech.org>
Subject: Re: Tech Question: How to programmatically determine attachment encoding method (base64, MIME, UUEncode, Yenc)?
Date: Tue, 20 Aug 2002 21:50:13 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <um4up98ldl41dd@news.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.mime.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp,comp.mail.mime
Organization: Litech Systems Design
Lines: 32
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1029880213 21661 208.48.41.224 (20 Aug 2002 21:50:13 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Tue, 20 Aug 2002 21:50:13 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)