in reply to Re: Using Net::FTP need to get latest file from the directory ?
in thread Using Net::FTP need to get latest file from the directory ?
You can use the ls or dir method to get a list of the files in the directory, then use the mdtm method on each file to get its modification time and select the file with the latest modifiction time.
|
|---|