Sreedhar J created SSHD-1320: -------------------------------- Summary: how to suppress "Can't ls "some file" not found and just show error message Key: SSHD-1320 URL: https://issues.apache.org/jira/browse/SSHD-1320 Project: MINA SSHD Issue Type: Question Reporter: Sreedhar J
Using the Apache SFTP Server, we are able to send custom error message by writing it to IoAsync Error streams. Error messages are shown at the client side, but one extra message is shown at the client as below for the "ls " command sftp> ls hide.txt invalid ls command, can not list hidden file Can't ls: "/hide.txt" not found In the above at the sftp command prompt, when we give ls hide.txt, Server is sending the desired error message as "invalid ls command , can not list hiddent files". but along with this error message one more extra message was seen "*Can't ls: "/hide.txt" not found*" . So how to get rid of this "Can't ls..." message, just to have error message. What needs to be customized on the Apache SFTP Server side? -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org