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

Guillaume Nodet resolved SSHD-343.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.13.0
         Assignee: Guillaume Nodet

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commit;h=649fac4a16d40c05a97f72d291fe6585d8af8e41

> Return substatus int programatically in SshException
> ----------------------------------------------------
>
>                 Key: SSHD-343
>                 URL: https://issues.apache.org/jira/browse/SSHD-343
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.12.0
>            Reporter: Jonathan Chien
>            Assignee: Guillaume Nodet
>             Fix For: 0.13.0
>
>
> Currently, DefaultSftpClient checks the response code of the SSH server and 
> if it's not 0 (SSH_FX_OK), throws a SFTP error containing the response code 
> as a String. This requires String parsing to determine if the error was due 
> to file existing, lack of permissions, lost connection, etc. It would be 
> better if it was passed in as the disconnect code or if there were some other 
> way for the consumer to determine the cause of the error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to