cURL / Mailing Lists / curl-library / Single Mail

curl-library

how to download few bytes of file and then stop the download

From: Meir Yanovich <meiry242_at_gmail.com>
Date: Wed, 29 Oct 2008 16:50:15 +0200

Hello all
im using cURl with the easy handler to visit html pages and it working great
now i need to do something more advance i need to download binary file
and check its header
when i recive the few bytes that contain the header to stop the download .
that is i need to get only the file header , i dont need the all file .
what is the best aproch for this?
Thanks
Received on 2008-10-29