title: lftp mirror file from server after deleting from local
body: <p>I am using LFTP command to mirror some files from server to client. In my program system is somehow deleting few downloaded files on local machine.</p>
  
  <p>When I run again the LFTP command it does not download locally deleted files from server. However I have seen that if I run LFTP command after a while, say 10 mins later, it downloads deleted files.</p>
  
  <p>Is there any kind of locking period once files are mirrored?</p>
  
  <p>Please see below command that I am using.</p>
  
  <pre><code>lftp sftp://user:pass@host:port -e 'mirror -r -i pattern -X pattern1 remote_directory local_directory; exit'
  </code></pre>
  
  <p>Please suggest</p>