Reinventing the wheel is a bad idea.
FTP looks simple but you have to consider all manner of issues
such as buffer overflows and so forth.
I'd much rather see you work with the existing Net::FTP
and enhance it either by patching or by subclassing.

Net::FTP is widely used therefore bugs and other oddities
are spotted and fixed more rapidly.



On Wed, 5 Jan 2005, 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;).
> 
>  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.
> 

Reply via email to