How to force FileSystemWatcher to wait till the file downloaded?

前端 未结 4 966
面向向阳花
面向向阳花 2021-02-08 20:11

I am downloading a file and want to execute the install only after the download is complete. How do I accomplish this? Seems like FileSystemWatcher onCreate event would do this

4条回答
  •  离开以前
    2021-02-08 20:40

    One technique would be to download to the temporary directory, and then move it into C:/downloads once it was complete.

提交回复
热议问题