Madhan Madhan - 2 months ago 10
Perl Question

Download a directory from ftp using perl

Is it possible to download folders from any of repository in ftp using perl?


Check out Net::Lite::FTP, the synopsis of the module seems to do exactly what you need. I've copied it here for reference:

use Net::Lite::FTP;
my $tlsftp=Net::Lite::FTP->new();
my $files=$tlsftp->nlst("*.exe");
foreach $f (@files) {