Net::FTP
Documentation:
CPAN
Example code:
net_ftp.pl