Hello~
#!/usr/bin/perl
use Net::FTP;
use strict;
my $ftp = Net::FTP->new("some.host.name", Debug => 0) or die "Cannot connect
to some.host.name: $@";
$ftp->login("anonymous",'-anonymous@') or die "Cannot login ",
$
HiHi~
If you are transfering file from a local machine to a remote machine, you do
not use File::Copy module to copy files. File::Copy is used for copying
files locally. You can use Net::FTP to transfer files from one machine to
another. And of course, you will need a FTP server for the machine