cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: LibCURL PUT Question...

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 26 May 2004 20:36:08 +0200 (CEST)

On Wed, 26 May 2004, Casey O'Donnell wrote:

> I've been attempting to use LibCURL (also read, "I am a newbie to LibCURL.")

Welcome aboard!

What libcurl version on what OS are you using?

> I get a valid return code from curl_easy_perform(pCurl);

"Valid", is that CURLE_OK you mean?

> curl_easy_setopt(pCurl, CURLOPT_INFILESIZE_LARGE, fFile.Length());

Does this function really return a variable of the same size as curl_off_t ?

Try setting CURLOPT_VERBOSE to 1 and see if that produces any interesting
info. Or possibly use CURLOPT_DEBUGFUNCTION for even more details.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-26