cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl does not like Tandem

From: Dan Fandrich <>
Date: Tue, 18 Sep 2007 10:34:30 -0700

On Tue, Sep 18, 2007 at 09:36:15AM -0700, wrote:
> I tried using CURLFTPMETHOD_NOCWD, and this works fine for retrieving
> files, however it does not work for listing directories.
> When specifying CURLFTPMETHOD_NOCWD, libcurl puts the entire path into
> conn->data->reqdata.proto.ftp->file and later on decides it should do RETR
> instead of LIST (because conn->data->reqdata.proto.ftp->file is not NULL).

Did you try CURLFTPMETHOD_NOCWD in conjunction with CURLOPT_DIRLISTONLY for
directories? That ought to work and if it doesn't it's a bug IMHO.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-09-18