Re: Reconciling os.path.getmtime vs ftp.sendcmd('MDTM filename')

2011-09-15 Thread Tim Johnson
* Tim Johnson [110914 18:18]: > * Chris Rebert [110914 16:46]: > > On Wed, Sep 14, 2011 at 12:50 PM, Tim Johnson wrote: > > > I have written a class that uses ftplib.FTP as the parent. > > > I need to reconcile the modified time of a workstation file with > > > that same filename on a remote ser

Re: Reconciling os.path.getmtime vs ftp.sendcmd('MDTM filename')

2011-09-14 Thread Tim Johnson
* Chris Rebert [110914 16:46]: > On Wed, Sep 14, 2011 at 12:50 PM, Tim Johnson wrote: > > I have written a class that uses ftplib.FTP as the parent. > > I need to reconcile the modified time of a workstation file with > > that same filename on a remote server. > > Let's say we have a file called

Re: Reconciling os.path.getmtime vs ftp.sendcmd('MDTM filename')

2011-09-14 Thread Chris Rebert
On Wed, Sep 14, 2011 at 12:50 PM, Tim Johnson wrote: > I have written a class that uses ftplib.FTP as the parent. > I need to reconcile the modified time of a workstation file with > that same filename on a remote server. > Let's say we have a file called '400.shtml'. I get the mtime on > my works

Reconciling os.path.getmtime vs ftp.sendcmd('MDTM filename')

2011-09-14 Thread Tim Johnson
I have written a class that uses ftplib.FTP as the parent. I need to reconcile the modified time of a workstation file with that same filename on a remote server. Let's say we have a file called '400.shtml'. I get the mtime on my workstation by >> os.path.getmtime('400.shtml') 1311648420.0 And I us