http://www.perlmonks.org?node_id=1013639


in reply to copy a file to a remote system

If you plan to copy file/files repeatedly use rsync. It has the capability to transfer only the changes over the network. Which is why it's so powerful for remote backups.

If you plan to do backups read up on rsync snapshots. A great example of data de-duplication.

If you plan to copy the file once, use scp or ftp/lftp.

There are modules on CPAN for all of these methods.