🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57656

Re: Using Message-ID to store binary file information

#57656
From: Curt Welch
Date: Tue, 26 Mar 2002 05:36
35 lines
3292 bytes
Joe Newsreader <not@this.address> wrote:
> I believe that the shorter files are extended (by assuming the missing
> bytes are nulls (0x00)) when the Reed-Soloman codes are generated.
> You need to know the lengths when reconstructing, because the basic
> logic always yeilds reconstructed data of the maximum length, which
> then must be trimmed down to the original length of the file being
> reconstructed.

Yes, that is how it seems to work based on what I read.

> I believe the file lengths are in the small master .PAR file, and also in
> each of the par files that can be used for correction.

Right.  Along with MD5s of all the files so the tools can make sure they
have the right files and make sure they are not corrupt.

> If you want to protect the parts of a multipart post, you either have to
> make all the parts the same size[1], or else keep track of the sizes of
> each of the parts and put that information into the par parts.

No, not really.  We don't want the par files to have anything to do with
the sizes of the posted articles.  We want the par files to calculate
checksums for well defined bytes in the file which will be easy to specify
in a short header on the Par file itself.  The download tool simply keeps
track of what byte ranges are still missing from the file, and needs to be
able to look at that par header and figure out if the par file will be
helpful to fill in any of the missing bytes.  Current par files aren't
based on the original large file, they are based on the split version.  But
nothing about how the big file was split gets stored in the par file
description.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20020326003649.177$76@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!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <a7ddkd$j6s1m$1@ID-26705.news.dfncis.de> <3c9c54a2.1953960@news> <a7e4h9$kvunt$1@ID-26705.news.dfncis.de> <20020322023326.175$pl@newsreader.com> <3c9d13a7.6329505@news> <20020322142214.518$Xu@newsreader.com> <3c9baac6.13143333@news> <20020322195941.840$tN@newsreader.com> <a7gok1$l864t$1@ID-26705.news.dfncis.de> <3c9e2b4c.46050296@news> <20020323233641.229$84@newsreader.com> <ktir9u8jf9jo2iukb02r1irgdksa00nru6@4ax.com> <3ca3a405.59245312@news> <t8kv9uspdu8blkhohkk8cdnj6lbftm9kja@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <20020326003649.177$76@newsreader.com>
Subject: Re: Using Message-ID to store binary file information
Date: Tue, 26 Mar 2002 05:36:49 +0000
From: curt@kcwc.com (Curt Welch)
References: <a7ddkd$j6s1m$1@ID-26705.news.dfncis.de> <3c9c54a2.1953960@news> <a7e4h9$kvunt$1@ID-26705.news.dfncis.de> <20020322023326.175$pl@newsreader.com> <3c9d13a7.6329505@news> <20020322142214.518$Xu@newsreader.com> <3c9baac6.13143333@news> <20020322195941.840$tN@newsreader.com> <a7gok1$l864t$1@ID-26705.news.dfncis.de> <3c9e2b4c.46050296@news> <20020323233641.229$84@newsreader.com> <ktir9u8jf9jo2iukb02r1irgdksa00nru6@4ax.com> <3ca3a405.59245312@news> <t8kv9uspdu8blkhohkk8cdnj6lbftm9kja@4ax.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!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com QVMmHn4Adr4@gPD@17cRIWLIZOl7ClnsTjEuxEK@s_t_mBS
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: 34