why use perl at all for this? if you just need to copy over files from one computer to the other, you could just use scp. you can use perl to run the scp command if you want. if you really need to do something in perl and calling a scp isn't an option for you, you may want to look into the Net::FTP module from cpan. I don't see an install module, for this so you'll have to find the correct Net folder in /usr/lib/perlX (X probably is 5) and create an folder called FTP in there. copy the source to that FTP directory. then go ahead and write your perl code using all the FTP stuff you want.
|