Jonathan Chien created SSHD-343:
-----------------------------------
Summary: 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
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.2#6252)