Python FTP get the most recent file by date
I am using ftplib to connect to an ftp site. I want to get the most recently uploaded file and download it. I am able to connect to the ftp server and list the files, I also have put them in a list and got the
datefield converted. Is there any function/module which can get the recent date and output the whole line from the list?