Downloading all files older than 3 hours from a ftp-server.

Thomas W thomas.weholt at gmail.com
Tue Mar 15 09:38:20 CET 2005


I need to download all files older than 3 hours from a ftp-server.
What's the easiest way to this? I've looked into the standard ftplib,
but it seems like the only way to go is to parse the
ftp.retrlines('LIST') command and that seems to be very easy to mess
up. 

any hints? 

Best regards,
Thomas W




More information about the Python-list mailing list