cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp_perform problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 9 Mar 2003 19:56:51 +0100 (CET)

On Fri, 7 Mar 2003, Dave Halbakken wrote:

> My question now is, "Is this a libcurl bug, or is this expected behavior?"

Whatever path libcurl finds out using CWD when it "enters" an FTP server will
be used later to return to that same spot (to be able to make multiple
operations that all assume this spot to be their entry point for relative
requests).

libcurl does not consider this to be anything else but an absolute path.
AFAIK, libcurl has no problems with relative vs absolute path.

Can you please enable VERBOSE (or preferably DEBUGFUNCTION) and show us a
full trace of a session in which you think curl is behaving badly?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
Received on 2003-03-09