curl-library
Total file length
From: Johan Nilsson <johan_at_nnl.se>
Date: Mon, 11 Dec 2000 14:27:32 +0100
Date: Mon, 11 Dec 2000 14:27:32 +0100
Hi!
I'm new to Curl so maybe this is a stupid question.
I'm working on an application and I'm thinking of using libcurl for the
downloading of certain files.
How can I find out the files total length (when starting to download,
i.e. after the first response) using the easy interface without having
to use a progress function? I don't want to parse any headers and I saw
that this information was sent as an argument to the progress function.
I use a write function of my own and I wouldn't need to use the progress
function if it wheren't for that feature.
Any ideas appreciated!
//Johan
-- | Johan Nilsson, M.Sc. in C.S.E., johan_at_nnl.se | NNL Technology AB, http://www.nnl.se | Phone: +46 (0)13 211400 | Mobile: +46 (0)70 9634472 | Address: Teknikringen 1B, S-58330 Linköping, SWEDEN _______________________________________________ Curl-library mailing list Curl-library_at_lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/curl-libraryReceived on 2000-12-11