title: Downloading files with today's date only from SFTP server with WinSCP
body: <p>I am trying to only download files that are created today, just like tomorrow I would only want to download files created tomorrow only. Essentially I log into the remote server with my script and download all the files right now with <code>synchronize local</code>. What I want to do is just only download the files created today. Right now I just added the filemask and I am still getting all of the files however I only want today's files. </p>
  
  <pre><code>open sftp://location.net -passphrase="passphrase" -hostkey="key"
  synchronize local C:\Users\localdrive\Desktop\test2   /Home/remoteFolder/
  exit
  </code></pre>
  
  <p>I also tried</p>
  
  <pre><code>get /Home/remoteFolder/ -filemask=*&gt;1D
  </code></pre>
  
  <p>and it hasn't changed anything.</p>
  
  <p>Any suggestions would be great.</p>