| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Question on example: ftpuploadresume.c
From: Ambarish Mitra <ambarish_mitra_at_persistent.co.in>
Date: Wed, 12 Nov 2008 16:52:49 +0530
This example (ftpuploadresume.c) demonstrates the "resume an upload to an
In the receive header callback function, it finds out the response header
long uploaded_len = 0;
curl_easy_setopt(curlhandle, CURLOPT_HEADERFUNCTION, getcontentlengthfunc);
size_t getcontentlengthfunc(void *ptr, size_t size, size_t nmemb, void
/* _snscanf() is Win32 specific */
if (r) /* Microsoft: we don't read the specs */
return size * nmemb;
My question is: Is this code specific to Win32? Will it not work for
DISCLAIMER
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info