in reply to need to ftp file
If you are using Net::FTP as has been suggested you need to use the dir() method to get a remote list, and then use foreach to go through that looking for the file you want (which I assume matches some pattern). Can you confirm you are using Net::FTP ?
In Section
Seekers of Perl Wisdom