Download libnet from the CPAN archive, install and use the ftp module available as
part of it
Randall Paulk wrote:
> I am new to Perl ( and programming in general). I have a seemingly simple task for
>which I would like to write a script. Here is the scenario.
>
> I have four LINUX boxes that I would like to automatically, once a day, open an FTP
>session and transfer three files to an FTP server.
>
> I have looked through the Programming Perl book and tried the system command. But
>it only opens the ftp session and waits for input. I also tried the Net::FTP module.
> But it displays a warning during install. Afterwards, it gives me an error when I
>try to transfer a file.
>
> Is there an easy way to transfer files automatically?
>
> Thank you,
> Randall Paulk
> Houston, TX