cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re:Re: Re: the example in src package didn't work! can anybody tell

From: gjs0064114 <gjs0064114_at_126.com>
Date: Wed, 17 Oct 2007 09:52:10 +0800 (CST)

  hi , Dan :
  I get known the reason.
at the line in the example , if I alter "(curl_off_t)file_info.st_size"
with a local "long long int" variable , it will work well!
I think something internal wrong with "..." type parameter .
 thanks a lot for your help!
======================================================
" curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE,
 (curl_off_t)file_info.st_size); "======================================================
ÔÚ2007-10-17£¬"Dan Fandrich" <dan_at_coneharvesters.com> дµÀ£º
On Wed, Oct 17, 2007 at 08:00:15AM +0800, gjs0064114 wrote: > > I 've point out " curl_easy_setopt(curl, CURLOPT_USERPWD, "user:kkk" ); "in my > native code, and the filepath as well. my user&passwd string is "user:kkk". > I executed the above example failed, but I succeed renaming the uploaded file > when executing the curl command in bash shell with the same username and > passwd. > I didn't know why. Does some other OPT needed ? You can use the --libcurl option to see what you're missing. >>> Dan -- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved
Received on 2007-10-17