<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 &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>
&gt;&gt;&gt; import ftputil<br>&gt;&gt;&gt; host = ftputil.FTPHost(&#39;localhost&#39;, &#39;rhancock&#39;, &#39;test&#39;)<br>&gt;&gt;&gt; res = host.stat(&#39;/local/data/proftp/proftp.log&#39;)<br>&gt;&gt;&gt; res[8]<br>
1188371100.0<br>&gt;&gt;&gt; import os<br>&gt;&gt;&gt; res = os.stat(&#39;/local/data/proftp/proftp.log&#39;)<br>&gt;&gt;&gt; res[8]<br>1219979117<br>&gt;&gt;&gt; <br><br>Issuing a stat on a local file from ftputil and from python produces two different results.&nbsp; Why?<br>
<br>Given the today&#39;s date, the python stat produces the correct result.&nbsp; Is there something I need to set in ftputil?<br><br></div>