When I am trying to connect with SFTP server and if there is any exception then thrown SFTP execption does not contain error code matching with SFTP standard.
I have to handle all exception cases bases on error codes defined in SFTP standard.
How can I get the error code that represents SFTP error code?
Below is an example of exception data that is returned in case of connection closed.
Code UnknownError Rebex.Net.SftpErrorCode
[0] {[SftpStatus, ConnectionClosed]}
[1] {[Status, ConnectionClosed]}
Status ConnectionClosed Rebex.Net.SftpExceptionStatus