ftplib question

John J. Lee jjl at pobox.com
Thu Jun 19 14:29:23 CEST 2003


"Avner Ben" <avner at skilldesign.com> writes:

> How do I find the year of a remote file in ftplib?
> 
> retrlines('LIST') seems to include only month day and hour.

Forgot to say: if the year is equal to the current year, the time is
shown, with no year.  Otherwise, the year is shown, with no time.


John




More information about the Python-list mailing list