cpp: downlaod and save report now work