🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #76644

Re: resuming broken download from usenet

#76644
From: Curt Welch
Date: Mon, 16 Apr 2001 15:44
66 lines
4467 bytes
Jim Crowther <jim@crowfam.org.uk> wrote:
> In message <1erxmrx.1mf5dp712leq4mN%planb@newsreaders.com>, J.B. Moreno
> <planb@newsreaders.com> writes
> >Jim Crowther <abuse.lockdown@dngs.crowfam.org.uk> wrote:
> >
> >> In message <3ada2d49.240039103@news.pcmagic.net>, dca@?.? writes
> >> >Is there a news reader that will resume a broken download.  I
> >> >currently use Free Agent and when my ISP drops me Free agent deletes
> >> >the file.  Kinda frustrating to restart a 3 hr download from the
> >> >beginning.
> >> >
> >> That behaviour is down to the server you are downloading from.  It
> >> also helps if you have a static IP.
> >
> >Nope, it's actually up to the client, if it's not up to the client then
> >it's not possible
>
> I guess that's true - really it's up to both ends negotiating properly.
> Some servers are configured to only allow downloads from the beginning
> (to discourage multiple connections hogging bandwidth) and some clients
> cannot remember where they were...

I doubt it.  NNTP servers just don't work like that.  They don't know what
you have downloaded and what you haven't in a connection.  And they don't
bother to check which part you are downloading.  It's all just articles to
NNTP servers. But like you said, I'm happy to be corrected if someone did
add tests like that to their server.

What they are configued to do sometimes is prevent multiple NNTP
connections at the same time (or limit the number) a single user can
create.  So if you try to download multiple parts at once, it may fail on
some servers. But starting at part 8 instead of part 1 isn't going to cause
a problem on any NNTP server.

> >-- if the message is posted in multiple parts, say 100, and a failure
> >occurs when downloading part 100 (say it's 500k) with just 10 bytes
> >left, then parts 1-99 can be saved and don't need to be redownloaded,
> >OTOH, part 100 MUST be downloaded from the beginning, there's no way to
> >read just the last 10 bytes without reading the almost 500k that you've
> >already read.
> >
> Not the case here AFAIK.  If I re-connect quickly, the server won't
> notice anything except that there's been a period of a few seconds with
> no traffic.  This is certainly true for FTP and HTTP, and I'm fairly
> sure (I may be wrong) it works for NNTP.  Happy to be corrected though..
> :)

You are right, but in the sense above, that would not be a failure, just
like a single lost packet isn't a failure.  He was talking about a failure
which would cause the NNTP connection to drop.

Once you have actually disconnected the NNTP connection, then there's no
way to restart an article download.  The protocol just doesn't have a
command to do that.  The only way to download an article is to request the
entire article.  So if the client is smart enough, it can resume a large
multipart article download.  It's entirely a function of the client and not
the server.

HTTP however does have a partital download option and that can be used to
resume a broken download if you have the right software.  I just added
support for it recently to NewsReader.Com.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20010416114454.113$Ri@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.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!europa.netcrusader.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mail
References: <3ada2d49.240039103@news.pcmagic.net> <0tGeVIduMj26EAk3@crowfam.org.uk> <1erxmrx.1mf5dp712leq4mN%planb@newsreaders.com> <cQHEKMBplp26EAi2@crowfam.org.uk>

Show Full Headers
Complete Article Headers
Message-ID: <20010416114454.113$Ri@newsreader.com>
Subject: Re: resuming broken download from usenet
Date: Mon, 16 Apr 2001 15:44:54 +0000
From: curt@kcwc.com (Curt Welch)
References: <3ada2d49.240039103@news.pcmagic.net> <0tGeVIduMj26EAk3@crowfam.org.uk> <1erxmrx.1mf5dp712leq4mN%planb@newsreaders.com> <cQHEKMBplp26EAi2@crowfam.org.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!europa.netcrusader.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.readers
X-User: Curt@NewsReader.Com
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: 65