cURL / Mailing Lists / curl-library / Single Mail


Re: Identification of ftp directory tree

From: Jeff Pohlmeyer <>
Date: Mon, 17 Nov 2008 16:35:15 -0600

Timothy Roughton wrote:
> Daniel Stenberg wrote:

>> Then, LIST is highly system-specific in the sense that its output format
>> is not standardized anywhere so two different servers can output the
>> directory list in any way it thinks look good.

Although it's not perfect, this might help:

It's been a while since I played with this, but IIRC the
ftpparse->flagtrycwd is set to zero for files and 1 for

 - Jeff
Received on 2008-11-17