Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-343

Return substatus int programatically in SshException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • None

    Description

      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.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            jchien Jonathan Chien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: