On Dec 6, 2012, at 4:29 PM, Irmen de Jong <irmen.nos...@xs4all.nl> wrote:

> 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

The answer will depend on whether or not the AIX "ls" command includes a switch 
to list the file creation time.  Some versions of UNIX (including OS X) have 
this, others don't.

-Bill
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to