Monitoring files - how to know when a file is complete

前端 未结 9 2069
无人及你
无人及你 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:36

    A write lock doesn't help if the file upload failed part way through and the sender hasn't tried resending (and relocking) the file yet.

提交回复
热议问题