You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2023/02/27 18:21:00 UTC

[jira] [Resolved] (SSHD-1320) how to suppress "Can't ls "some file" not found and just show error message

     [ https://issues.apache.org/jira/browse/SSHD-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lyor Goldstein resolved SSHD-1320.
----------------------------------
    Resolution: Information Provided

> 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
>            Priority: Major
>
> 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-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org