in reply to File downloader

Look at LWP::Simple's getstore() function. To quote the documentation,

getstore($url, $file) Gets a document identified by a URL and stores it in the file. The return value is the HTTP response code.

Hope that helps.