cURL / Mailing Lists / curl-library / Single Mail

curl-library

getting header information

From: kuriakose <kuriakose_at_huawei.com>
Date: Wed, 03 Jan 2007 12:26:02 +0530

 

 

How do I get the information like size of the file and date time of file in
the server

without downloading.

One way is set CURLOPT_NOBODY and give a call back function so that the
header information is written to a file

And then read from the file. Is there some other way to get these info
directly in code.

 

 

 

 

 

 

Regards

Kuriakose

 

 

 
Received on 2007-01-03