On 6-12-2012 17:49, moonhkt wrote: > Hi All > > AIX.5.3 > Python 2.6.2 > > File ftp to Machine A, need to rename then send to Machine B. > > How to list a file which already created a 2 mins ago ? If file aging > more than 2 mins. I want to rename file to other file name. > > moonhkt >
ftplib.FTP os.path.getmtime os.rename time.time Should be some pointers to get started. Irmen -- http://mail.python.org/mailman/listinfo/python-list