Re: Problem downloading using text transfer mode
Date: Fri, 27 Jun 2008 17:44:44 +0200
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
2008/6/27 Dan Fandrich <dan_at_coneharvesters.com>:
> On Fri, Jun 27, 2008 at 09:42:37AM +0200, Abel Alonso wrote:
> > The server converts the end of line, because what I receive is a file of
> > same size of the one in the server and with the CRLF line ending. The
> > is that the size of the file received doesn't grew up as bytes as end of
> > it has.
> If the server sends the file exactly as stored there, and the file is
> without CR/LF line endings, then the server is not converting the line ends
> on download. The canonical FTP ASCII transfer mode has CR/LF line endings.
> If the server is not converting them on downloads in TYPE A mode, then the
> server is at fault.
> >>> Dan
> http://www.MoveAnnouncer.com The web change of address
> Let webmasters know that your web site has moved
Received on 2008-06-27