###this program is only available in Linux ###you can complie this file using GCC, the way to use it just the same as wget, of course it's not as strong as wget ###download one file one time, update download speed after finishing each read system call