Upshur County man sentenced for child pornography