updating server download process to get proper bytes count.