in reply to Errors using Net::DownloadMirror
Best guess is that your webserver automatically logs you into /var/www and then you are appending /var/www to that (or it's setting '/' to /var/www).
Try leaving the remotedir parameter blank ('').