An appeals court on Thursday upheld the ban imposed on Russia's track and field athletes for next month's Olympics in Rio de Janeiro.