cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using CURLOPT_FTP_CREATE_MISSING_DIRS

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 2 Oct 2004 14:13:58 +0200 (CEST)

On Fri, 1 Oct 2004 Don_Marino_at_May-Co.com wrote:

> I am a newbie to linux, could you explain how or point me to the correct
> documentation on how to compile libcurl for debug?

Personally, I'd do this:

$ ./configure --enable-debug --disable-shared
$ make
$ gdb src/curl
[gdb starts, set a break-point]
$ b ftp_cwd_and_mkd
[now run a command until it stops at the break-point]
$ run ftp://www.thatdomain.com/nonexisting --ftp-create-dir

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