in reply to Download file from sftp or FTP
The get method does not do wildcard expansion, which is why "*_3rdParty.csv" does not work.
Unfortunately, Net::FTP doesn't have an mget command/method (like many system ftp tools), so you'd have to roll one yourself. Something like this (untested):
$ftp->get($_) for grep /_3rdParty\.csv$/, $ftp->ls();
|
|---|