Hi,
I am looking to write a script to automate downloading files. I have a Linux Server which is not online, but it produces a list of files to download to update. The list is in this format:-
'http://ftp.fi.debian.org/debian/pool/main/a/apr/libapr1_1.4.2-6+squeeze3_i386.deb'
libapr1_1.4.2-6+squeeze3_i386.deb
First line is the address, second is the filename that it should be saved as. It can also have md5sum as well. I would like to write a script to go through this list, download all the files and give them the right name, as the list can be long and it takes a while to do manually.
Can anyone point me in the right direction for how to start? What language or script type would be best?
Thanks
I am looking to write a script to automate downloading files. I have a Linux Server which is not online, but it produces a list of files to download to update. The list is in this format:-
'http://ftp.fi.debian.org/debian/pool/main/a/apr/libapr1_1.4.2-6+squeeze3_i386.deb'
libapr1_1.4.2-6+squeeze3_i386.deb
First line is the address, second is the filename that it should be saved as. It can also have md5sum as well. I would like to write a script to go through this list, download all the files and give them the right name, as the list can be long and it takes a while to do manually.
Can anyone point me in the right direction for how to start? What language or script type would be best?
Thanks