how to get Transfer rate when downloading file