cURL / Mailing Lists / curl-library / Single Mail


Re: Broken libcurl FTP list parsing

From: Daniel Stenberg <>
Date: Mon, 20 Jan 2014 11:21:51 +0100 (CET)

On Sun, 19 Jan 2014, Marc Hörsken wrote:

> Comparing the output of test 100 and 101 it seems like curl does not do the
> right thing. The directory listing output of test 100 contains [LF] while
> test 101 results in [CR][LF]. I think that the later one is actually correct
> on Windows, but please correct me if I am wrong.

Yes, I wouldn't be surprised. A directory listing is done in text mode with
FTP so I'd say CRLF line endings would be expected on Windows and LF

This is probably part of the known bug #21, "FTP ASCII transfers do not follow


List admin:
Received on 2014-01-20