close

abstract suspend fun close(handle: SftpFileHandle): SftpResult<Unit>(source)

Close a file or directory handle.


abstract override fun close()(source)

Close this SFTP session and the underlying SSH channel.