mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Gustavsson <nik...@protocol7.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 Wed, 27 May 2009 18:43:37 GMT
On Wed, May 27, 2009 at 3:07 PM, David Latorre <dvlato@gmail.com> wrote:
> I added a fix and some tests but ToNetASCIIOutputStream in
> commons-util will always replace to \r\n so I'm uploading a modified
> version. With this fix ascii mode should not eat line separators
> anymore.

Thanks! Looking into the fix I'm not sure we should print EOL on \r.
Since \r is not the canonical line ending in the RFC, I think we
should rather print \r as it is in the stream. What do you think?

/niklas

Mime
View raw message