cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: ftp restart with multiple URLs

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Sep 2002 14:49:16 +0200 (MET DST)

On Thu, 19 Sep 2002, Ilguiz Latypov wrote:

> I found that curl-7.10-pre3 would keep restarting FTP download with the
> same start offset when more than one URL is specified in the command line.
>
> Apparently the start offset in the above case is the size of the file that
> was downloaded on previous invokation. When no other files in command line
> are present on disk, the resume_from value from the former file will
> propagate to the new file.
>
> Will the following patch fix this problem? I also attached the script I am
> using to download RPM updates with curl.

I think your patch looks excellent and should work very well.

Thanks a lot, I've applied it and it'll be part of the upcoming release!

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-09-19