in reply to Downloading files from FTP links
#!/usr/bin/perl use strict; use warnings; use Net::FTP::Robust; my $dir = '/pub/CPAN/'; my $local = '/path/to/local_dir'; my $ftp = Net::FTP::Robust->new( Host => 'ftp.cpan.org', ); $ftp->get($dir, $local); $ftp->quit;
|
|---|