How do I get the latest file that was uploaded in a given directory on an FTP server using NET::FTP. The ls -lt command gives me the listing in opposite chronological order for Unix FTP server and NT FTP server. I also need to get the time of upload. Any help will be appreciated.