On Wed, Jan 05, 2005 at 11:59:22AM +0100, Dariush Pietrzak wrote: > Hi, > I'm going to release on CPAN simple FTP client implementation. > This module is very simple, but provides access to TLS-enabled servers, and > is going to be a testbed for few relatively new extensions to ftp, like > statefull-firewall-piercing-while-encrypting-both-data-and-control-channel;).
Why not just add the functionality to Net::FTP? Or you could subclass Net::FTP and call it something clever like Net::FTP::TLS. Austin > > Intented usage: > my $tlsftp=Net::Lite::FTP->new(); > $tlsftp->open("ftp.tls.pl","21"); > $tlsftp->user("user"); > $tlsftp->pass("password"); > $tlsftp->command( "PBSZ 0");#Required at the momemnt > $tlsftp->command("PROT P");#Required at the momemnt > $tlsftp->cwd("pub"); > my @files=$tlsftp->nlist("*.exe"); > foreach $f (@files) { > $tlsftp->get($f); > }; > > > -- > Key fingerprint = 40D0 9FFB 9939 7320 8294 05E0 BCC7 02C4 75CC 50D9 > We're giving you a new chance in life, and an opportunity > to screw it up in a new, original way.