curl-library
Re: get PWD
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 25 Jun 2003 23:26:41 +0200 (CEST)
Date: Wed, 25 Jun 2003 23:26:41 +0200 (CEST)
On Wed, 25 Jun 2003, Wei Weng wrote:
> How do I get the result of a PWD command? (Since the reply is coded with
> 257, I dont think it will be in the output buffer so that I can specify a
> CURLOPT_WRITEFUNCTION callback)
The FTP server responses are sent to libcurl has "headers" so you need to use
the CURLOPT_HEADERFUNCTION instead.
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.phpReceived on 2003-06-25