curl-users
Re: Behaviour of --continue
Date: Thu, 28 Sep 2000 14:44:10 +0200 (MET DST)
On Thu, 28 Sep 2000, Stenberg Björn wrote:
> A) (the fancy option)
> The display should look the same as if we'd transferred all the data in
> one session. That is, the "received bytes" counter should bump up to the
> size of the file. The time counters should, however, not be bumped. They
> should start from zero.
Shouldn't there be any sign of a continued transfer? I mean, a text like
*** Continuing from byte 61023232
would still be interesting, wouldn't it?
> I realize this breaks the "true" meaning of "received bytes", but I think
> it is more intuitive this way. I also realize this will probably screw up
> the speed calculation (which should show the speed of the current
> transfer, excluding "previous data").
I think it would be a rather trivial change to add just an "already
downloaded amount" index that just increases *the displayed*
currently-downloaded and expected-downloaded-size counters.
Any taker on fixing this?
> If the --continue is "unsuccessful", in so that the server does not
> support partial file transfer and we are not getting the data we
> requested, the operation should be aborted and curl should exit without
> touching the output file.
It already does.
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/Received on 2000-09-28