🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66996

Re: Attachment/Message Filesize

#66996
From: Curt Welch
Date: Wed, 29 Oct 2003 19:46
15 lines
1910 bytes
"aaronb" <borgaaron@yahoo.com> wrote:
> I think I found the answer. XOVER returns a byte count. multiple XOVER
> byte counts added together gives me my total filesize for multipart
> posts. If there is any tips anyone has I would appreciate it. Thanks.

XOVER returns a line count and a byte count.  If you want to know how large
the article is in bytes, then that's your answer.  If you want to guess at
the size of the attachment after it's decoded, then you have to try and
guess if the article is using uuencoding or yEnc (or something else).  By
using both the line count and the byte count, you can can make a good guess
at that because yEnc uses longer lines.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20031029144642.923$zN@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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed4.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <3f9d96c4$0$47954$c3e8da3@news.astraweb.com> <3f9db1e1$0$47959$c3e8da3@news.astraweb.com>

Show Full Headers
Complete Article Headers
Message-ID: <20031029144642.923$zN@newsreader.com>
Subject: Re: Attachment/Message Filesize
Date: Wed, 29 Oct 2003 19:46:42 +0000
From: curt@kcwc.com (Curt Welch)
References: <3f9d96c4$0$47954$c3e8da3@news.astraweb.com> <3f9db1e1$0$47959$c3e8da3@news.astraweb.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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed4.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com Er=5REnPWJiMiEYJOr1t92oJzscMEUWAf+fcfRAliMFTn6=3
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: 15