mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Roberts <dave.robe...@saaconsultants.com>
Subject Re: [jira] Commented: (FTPSERVER-306) some clients won't transform NEW LINE characters to \r\n when sending in ASCII mode so after sending a file the new lines will be gone.
Date Thu, 28 May 2009 09:50:25 GMT
David Latorre wrote:
> So unless someone has a strong reason to need uniform EOLs
> corresponding to the target system,  then we might assume that the
> issue with different clients resulting in different files can be
> ignored, and  transform only the canonical line ending.

My understanding of the spec has always been that in ASCII mode,
both sides must convert between the local OS specific line endings
and the canonical CR/LF pairing.  If the file isn't in the correct
format for the local OS, then the right results cannot be guaranteed.

So I would agree that we should only transform to/from the canonical
line ending.

View raw message