title: Is there any way to get the date modified from Net::SSH or NET::SFTP commands in ruby?
body: <p>Is there an easy way to get the date modified of a file by using Net::SFTP?</p>
  
  <p>It'd be nice to be able to do this:</p>
  
  <pre><code>Net::SFTP.start('some_server') do |sftp|
    sftp.dir.glob('*').each do |file|
      puts file.mtime
    end
  end
  </code></pre>
  
  <p>But that's not possible (to my knowledge).</p>
  
  <p>Berns.</p>