in reply to Re: using Net::FTP to get a file without a full name
in thread using Net::FTP to get a file without a full name

Hi,

Sorry, my mistake. I meant to 'GET' file(s) from a remote
server instead

Thanks!

  • Comment on Re^2: using Net::FTP to get a file without a full name

Replies are listed 'Best First'.
Re^3: using Net::FTP to get a file without a full name
by iburrell (Chaplain) on Aug 24, 2004 at 16:59 UTC
    Then you can list the files on the remote site and filter the list with whatever pattern you want to use.
    my @list = $ftp->ls(); my @files = grep { /some pattern.*/ } @list; foreach my $file (@files) { $ftp->get($file); }