in reply to Copying files
Sounds to me like the LWP::Simple (or some other module from the LWP bundle) will do just what you want.
"Perl makes the fun jobs fun and the boring jobs bearable" - me