Article View: news.software.nntp
Article #59966Re: Tech Question: How to programmatically determine attachment encoding method (base64, MIME, UUEncode, Yenc)?
From: Andy H
Date: Tue, 20 Aug 2002 23:09
Date: Tue, 20 Aug 2002 23:09
56 lines
3109 bytes
3109 bytes
See responses inline below... "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:ajudil$l4t$2@puck.litech.org... > 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? Yes, I do. In certain high traffic binary groups, the headers alone (assuming you are using a premium news service with large retention) are several hundred megs (alt.binaries.sounds.mp3 for example). I'm not even talking about the attachments and msg bodies. Most news services also limit monthly bandwidth, so you can see how much bandwidth could be saved. I think it is unreasonable to have to download hundreds of megs just to search for an article when there are seemingly unused NNTP server extensions (xpat) for just this task. > >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. Thanks for the link, I'll check it out (and the FAQ too). Ya, I'm quickly learning that this is a very hairy task indeed. Andy > > > -- > Jeffrey M. Vinocur > jeff@litech.org
Technical Details
Message-ID:
<um5j0cmcvv7941@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!sn-xit-02!sn-xit-06!sn-post-02!sn-post-01!supernews.com!news.supernews.com!not-for-mailReferences:
<um4up98ldl41dd@news.supernews.com> <ajudil$l4t$2@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <um5j0cmcvv7941@news.supernews.com> Subject: Re: Tech Question: How to programmatically determine attachment encoding method (base64, MIME, UUEncode, Yenc)? Date: Tue, 20 Aug 2002 17:09:02 -0600 From: "Andy H" <andyh@nospam.com> References: <um4up98ldl41dd@news.supernews.com> <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!sn-xit-02!sn-xit-06!sn-post-02!sn-post-01!supernews.com!news.supernews.com!not-for-mail Newsgroups: news.software.nntp,comp.mail.mime Organization: Posted via Supernews, http://www.supernews.com X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Complaints-To: newsabuse@supernews.com Lines: 55