cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem downloading using text transfer mode

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 27 Jun 2008 20:21:29 -0700

On Fri, Jun 27, 2008 at 05:44:44PM +0200, Abel Alonso wrote:
> The server stores the file with LF line ending and send it with CR/LF, but if
> the file in the server has a size of 73B with one end of line, the stream sent
> should be of 74B, but it is of 73B and I miss a character (the last one).

You say the server "send[s] it with CR/LF" which implies a length of 74 bytes,
but you say "it is of 73B". You first seem to be saying that the server DOES
convert to CR/LF and then that it DOES NOT. Which is it? Because if
it's the latter, curl won't do anything about it.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-06-28