On Mon, Sep 17, 2012 at 4:03 PM, Emmanuel Lécharny <[email protected]> wrote:
> Thinking about it more, I wonder if the fact that we receive bad chars, but
> still produce a String, is not a better solution ?
>
> All in all, you'll be able to see that the file does not exist and return a
> correct error, instead of handling an exception.

Well, that will for example not working for putting files. Also, there
is a proper FTP error reply for invalid requests, and I think that's
the proper thing to return for broken requests, which is what
FtpServer correctly does.

/niklas

Reply via email to