Re: Problem downloading using text transfer mode
Date: Mon, 23 Jun 2008 23:29:23 +0200 (CEST)
On Mon, 23 Jun 2008, Abel Alonso wrote:
> I have in my local Windows machine a file with the following data:
How are these lines separated? CRLF ?
> I upload that file
Upload how? Using what protocol?
> to a Linux machine using the text transfer mode and with
> CURLOPT_TRANSFERTEXT and CURLOPT_CRLF enabled. When I download this file
> what I get is the following:
Using what line endings?
> This is one character less than the original file. It's just one character
> because I onlu have a line ending, if I would have 2 line endings I would
> retrieve the file with 2 characters less.
Can you please provide a full source code to a small application that repeats
-- / daniel.haxx.seReceived on 2008-06-23