cURL / Mailing Lists / curl-library / Single Mail

curl-library

check file before download

From: Dejan <xamiw_at_arcor.de>
Date: Wed, 13 Jan 2010 19:19:40 +0100

Hi all,

I have to download a lot of files and store them before processing. But
if only one file is missed my program must quit.

Before downloading files with a size of 3GB and failing by just the last
one (which is maybe only 1KB) is quite unlucky.

So, how can I check the file exists with FTP and HTTP?

Thanks!

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-13