title: stat command using sftp (mtime)
body: <p>I'm trying to write a bash script, which automates finding reports being uploaded to an ftp site.  I want to use the mtime (<code>stat -c %Y &lt;file&gt;</code>) in an <code>if</code> statement to test against a static time parameter for further processing.  Is there an analogous command while using sftp?  'stat ' doesn't work, nor does 'sftp stat ', both returning 'Invalid Command'.  Thanks</p>