Monitoring files - how to know when a file is complete

前端 未结 9 1990
无人及你
无人及你 2021-01-11 12:59

We have several .NET applications that monitor a directory for new files, using FileSystemWatcher. The files are copied from another location, uploaded via FTP, etc. When th

9条回答
  •  迷失自我
    2021-01-11 13:27

    You probably have to go with some out of band signaling: have the producer of "file.ext" write a dummy "file.ext.end".

提交回复
热议问题