curl-users
How to identify the file type
From: Bong Coronel <nikkeivon_at_gmail.com>
Date: Thu, 18 Aug 2011 16:40:49 +0800
Date: Thu, 18 Aug 2011 16:40:49 +0800
Hello,
I have a problem with identifying the type of the file being fetched using
libcurl. Basically I would like to identify if a file is an image file or a
pdf file. I don't think the content-type will be able to give me this
information.
Would anyone of you advice me how to do this in curl?
Thanks,
Bng
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-18