Ford's South African factory has secured an export contract to supply the Ranger pickup truck to African markets.