A nice an easy way would be to use LWP, it provides lwp-download (along with other helpful scripts) which you can either just use as a script, or as a basis for your own script to achieve your goal.
thanks marto... i checked it out... now i have a few options. i'll see whats easier and takes up the least processor time and go from there. thanks again