cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp download problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 15 Oct 2001 13:10:50 +0200 (MET DST)

On Sun, 14 Oct 2001, MEHUL PATEL wrote:

> my problem is when I download file from this
> ftp://ftp.us.dell.com/bios/A17I8000.EXE site that time I am gating
> "dltotal = 0" in my progress function.
>
> see if I give "curl_easy_setopt(curl, CURLOPT_RESUME_FROM,0);" like
> this,its never give me a total size of file but If I give
> "curl_easy_setopt(curl, CURLOPT_RESUME_FROM,10);" its give me a total
> size of file in my progress function.

It certainly sounds very odd.

Can you show us protocol dumps from both runs? It would help a lot.

Also, consider upgrading to curl 7.9 as it is a better version.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-10-15