if files mtime is less than x amount. print those files
<p>I am able to print mtime attribute of files. I am only concerned with files modified in say the last xxxx amount of minutes. I touched files in the directory so i know there are new files there.  </p>

<pre><code>file_list_attr = sftp.listdir_attr('/path')
fdir = sftp.listdir(path=source)

for f in file_list_attr:
    print "name=%s, modified date=%s, size=%s" % (f.filename, f.st_mtime,f.st_size)

mt = f.st_mtime
now=dt.datetime.now()
while f.st_mtime == now-dt.timedelta(minutes=2120):
   print 'You have something here'
else:
    print 'nada'
</code></pre>
