I am using Python to connect to an FTP server that contains a new list of data once every hour. I am only connecting once a day, and I only want to download the newest file in the directory. Is there a way to do this?
Seems like any system that is automatically generating a file once an hour is likely to be using an automated naming scheme.  Are you over thinking the problem by asking the server for the newest file instead of more easily parsing the file names?  
This wouldn't work in all cases, and if the directory got large it might become time consuming to get the file listing.  But it seems likely to work in most cases.
How can I get the newest file from an FTP server?