I do contract work for a living, which could include writing a program such as this. However, I don’t do people’s homework for them. That just robs them of an education.
You have my full permission to implement this project any way you please.
Perhaps you can guess an approximate location of the mirror from DNS lookup or the IP.
This gives you a short list of candidates. You then try downloading say 20K of the file from each mirror and see which responds fastest. (If the file is short, you just pick a random mirror. It is just a waste of time optimising.) This will pick a close, lightly loaded mirror. This will also exclude mirrors that are down.
Extract the filename from the webpage also. Then download the file to the predesignated target directory in the background, showing a progress bar if the user is curious.
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.18] | The information on this page is for non-military use only. | ||
| You are visitor number 964. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/project/closest.html | J:\mindprod\project\closest.html | ||