Continue Your Download When Internet Connection Breaks Down
It’s been a long time since I last used a really unstable internet connection. Currently my home internet speed is quicker and more stable that the one on my current job.
Here is the situation that I found myself in. Because all the people at my job share a 15/15 Megabit per second up/down link the internet is really slow and breaks all the time. I won’t even go into why do I have to open up a VPN on a local network that should be trusted. From time to time the VPN tunnel or internet connection just dies on you. Leaving you with with a partially downloaded file. For an example Visual Studio 2015 .iso image.
You must be thinking? Well it’s 2016 and internet connections should be quicker and faster if you work in IT company. Well, guess what… that’s not the case here.
Solution is to use wget command line tool. I got mine via portable apps directory. https://portableapps.com/apps/internet/winwget_portable
Once downloaded and ‘installed’ you will find the binary that you need in \WinWGetPortable\App\winwget\wget\ folder. Copy it in your download folder for quick later use. Open up command line and position yourself in the download folder. We are going to use two switches. One is -c, it tells the wget to continue from where it left (if the server permits it). Other is –limit-rate=xyz, it limits the download speed.
wget http://domain.com/path_to_the_file -c –limit-rate=xyz
More about the switches can be found listing the help via command line, or in online manual.