C# FileSystemWatcher And FTP

后端 未结 6 1308
南旧
南旧 2021-02-02 03:48

I monitor files that are dropped on a ftp via filesystem watcher then move to another dir. Now I trigger the copy off the create event of the filesystem watcher but obviously i

6条回答
  •  说谎
    说谎 (楼主)
    2021-02-02 04:06

    4 years later....

    the stub file is a good idea, but, probably a slightly more robust way to do it is to have your source create a stub file first, upload your "real" file, then delete the stub.

提交回复
热议问题