SftpException

class SftpException(val statusCode: SftpStatusCode, message: String, cause: Throwable? = null) : SshException(source)

Exception thrown for SFTP protocol errors.

Parameters

statusCode

The SFTP status code from the server

message

Human-readable error message

Constructors

Link copied to clipboard
constructor(statusCode: SftpStatusCode, message: String, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String