An Upstate charter school whose principal was arrested on a student-related sex crime charge in January had known about the allegations for over a year, but permitted the accused sex offender to continue working at the school, an investigation by The State Media Co. found.