cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to get current working directory of ftp?

From: LIN Huangyang <Huangyang.Lin_at_alcatel-sbell.com.cn>
Date: Tue, 19 Oct 2010 10:45:50 +0800

Hi,

I'm using curl-7.21.0. I meet a problem that I cannot get FTP current
working directory.

When I sent FTP command "PWD", I found the directory information was
printed out to screen as debug trace like "257 "/home/xxx" is current
directory", instead of being processed by callback.

Can I retrieve this information anywhere in memory, or by calling other
functions? Thanks.

Regards
Lin Huangyang
8477-7571

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-19