cURL / Mailing Lists / curl-library / Single Mail


RE: Broken libcurl FTP list parsing

From: Steve Holme <>
Date: Sun, 5 Jan 2014 11:56:12 +0000

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

> by the way: thanks for your changes to the FTP LIST test-logic.
> Test 100 is now working on Windows, because the line-ending
> issue is resolved by the new data format. :-)

I obtained some log files from Daniel a few days ago as I was hoping to look
into this shortly so that has saved me a job ;-)

Can the changes in the test file also be applied to other FTP LIST tests
that seem to exhibit the same line ending check problem or is there a
difference between the way <data> and <datacheck> work that should be fixed

Tests: 101, 130-134, 215, 250, 251, 280, 294, 350-354, 521 and 539.

What was also quite interesting from the log files Daniel sent me was that
ftp_sockdata.log showed that \r\n was sent by the server but the data /
datacheck elements in the tests only contain \n. I don't know FTP that well
so is there some conversion / line ending strip that takes place as trace100
only shows the data with \n on linux? I know I have \r\n in the <data>
element for most of the email tests.

Kind Regards


List admin:
Received on 2014-01-05