cURL / Mailing Lists / curl-library / Single Mail

curl-library

Only receive a header file

From: dylan <glethro_at_gmail.com>
Date: Thu, 4 Mar 2010 04:13:44 +0400

Hello,
I'm working on a small program that needs to know the size of a file before
it is downloaded via HTTP. The header file for these files does contain
this information, so i was wondering if it is possible to only receive the
header without the rest of the data.

If so, how is that done?

Dylan

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