A Zambian court has sentenced a former military commander to six years imprisonment with hard labour for corruption, state media reported on Tuesday.