Does IIS FTP include an API to detect when a file upload completes?

前端 未结 1 1203
忘掉有多难
忘掉有多难 2021-01-22 16:59

I\'d like to use the IIS FTP server, but I need to be able to tell when a file upload completes for a specific user. I\'d rather not rely on watching file changes directly withi

1条回答
  •  南方客
    南方客 (楼主)
    2021-01-22 17:46

    You can use a custom logging provider to do this. I've implemented something very similar using

    http://learn.iis.net/page.aspx/632/how-to-use-managed-code-c-to-create-an-ftp-provider-that-sends-an-email-when-files-are-uploaded/

    as as start.

    0 讨论(0)
提交回复
热议问题