ftplib question

Avner Ben avner at skilldesign.com
Fri Jun 20 04:28:00 EDT 2003


"John J. Lee" <jjl at pobox.com> wrote in message
news:87isr2qmho.fsf at pobox.com...
> "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.
>

Thanks, John.

    I suspected something like that, but Had no way to find out, being a
Windows user.

        Avner.






More information about the Python-list mailing list