>According to the RFC, a multiline reply should be formatted as:
>123-First line
>Second line
>123 The last line
>
>Which is what we currently do (there are a few test cases in
>org.apache.ftpserver.impl.DefaultFtpReplyTest that attempts to verify
>this).

Ok thanks for clarification, so then I will leave as it is now.


>However, reading the RFC on this just now, I found we do have a bug
>where we do not correctly handle lines beginning with a number, for
>example from the RFC:
>123-First line
>Second line
>  234 A line beginning with numbers
>123 The last line

>I've created a patch for this and will open a JIRA issue for trunk and 1.0.4.


Ohh great! I will check trunk in a couple of days!

Thanks a lot for your time!

Reply via email to