<div dir="ltr">Python 2.5.2 (r252:60911, Aug 28 2008, 23:51:17) <br>[GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>
>>> import ftputil<br>>>> host = ftputil.FTPHost('localhost', 'rhancock', 'test')<br>>>> res = host.stat('/local/data/proftp/proftp.log')<br>>>> res[8]<br>
1188371100.0<br>>>> import os<br>>>> res = os.stat('/local/data/proftp/proftp.log')<br>>>> res[8]<br>1219979117<br>>>> <br><br>Issuing a stat on a local file from ftputil and from python produces two different results. Why?<br>
<br>Given the today's date, the python stat produces the correct result. Is there something I need to set in ftputil?<br><br></div>