cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Help translate CURL to libcurl please

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 8 May 2008 19:51:08 +0200 (CEST)

On Thu, 8 May 2008, Karandeep Malik wrote:

> curl --libcurl -d debugfilename.txt -c cookie.txt -L
> http://www.xxxxx.com/public/xxxxx.html

Just a minor correction. The --libcurl option takes a file name and -d is for
sending data to POST. Thus:

  curl --libcurl debugfilename.c -c cookie.txt -L [URL]

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-05-08