Perl: Net::FTP methods 
 Net::FTP methods
 
 
- To create a new FTP object call the new() method as usual:
- 
$ftp = new Net::FTP("ftp.cdrom.com");
 
 
- The login() method logs you in to the ftp server:
- 
$ftp->login("anonymous","me\@myhost.com");
 
 
- dir() returns directory listing as an array