Today I used wget [an excellent terminal based download manager] to download the newest version of virtualbox , but as sun doesnt let iranians to download their Virtualbox, it stopped in 90% and I kept re-dowloading and the same thing happend.
Wget normally Automaticly resumes the partial downloaded file.
but in this case Sun websites gives a Random File Name each time you download it . [add some kind of ID]
to force wget to resme a download file in another name , I did this :
wget -O virtualbox-3.1_3.1.4-57640_Ubuntu_karmic_i386.deb -c http://download.virtualbox.org/virtualbox/3.1.4/virtualbox-3.1_3.1.4-57640_Ubuntu_karmic_i386.deb
the -O forces the download file name in Output.
the -c forces wget to continue partial download







