Before you do somthink like $cftp->mdtm($filename) you have to actually have a filename. E.g.
for my $filename ($ftp->ls) { my $filetime = $ftp->mdtm($filename) or die "mdtm failed ", $ftp->message; # here check if filetime is in your range }
In reply to Re: FTP pattern matching and email notify
by Thelonius
in thread FTP pattern matching and email notify
by brianlois
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |