A Waynesboro man was sentenced to 20 years in prison last week on numerous charges of possessing child pornography.