Help for this page
use LWP::Simple; my $remote = 'ftp://ftp.example.com/path'; ... ); mirror("$remote/$_", "$local/$_") for @files;