Niklas Gustavsson wrote:
Peter Kostouros wrote:
How about ../trunk/core/src/test/org/apache/ftpserver/StoreTest.java as a starting point:

+    private static final String TESTDATA = "TESTDATA\r\nline2\r\n";

Excellent test case :-)

Now, in this case, when a file already contains \r\n line endings, we'll would be sending them as \r\r\n. Just like you pointed out Peter.

I've created an issue over at https://issues.apache.org/jira/browse/FTPSERVER-84 and committed the fix in rev 535977. Please verify that this fixes your issue and thanks for reporting it!

Looks OK to me. Thanks!

/niklas




--

Regards

Peter

As always the organisation disavows knowledge of this email

Reply via email to