A federal judge sentenced a 40-year-old Moscow, Idaho, man to 17½ years in prison after he uploaded hundreds of child pornography files to online groups and posted messages online about wanting to commit sexual offenses against children, according to a news release from the U.S. Attorney’s Office in Idaho.