cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: help with this

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sun, 12 Sep 2004 23:25:14 +0200 (CEST)

On Sun, 12 Sep 2004, Miguel Monzon wrote:

> The problem is that after finished downloading, i can't read the file. The
> ftp works fine but when i try to read the file is like it was and empty
> file, but in reality the transfer was ok.

This probably happens because you haven't fclos()ed the file from the download
before you open it again for reading.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-09-12