janejanejane
janejanejane

Reputation: 496

Custom Windows Service does not respond properly

I've been tasked to fix a service that detects files created within a different partition of the server. This partition has a folder that is shared publicly to allow other accounts to access its contents. I tested the process using the account that created the service and it works properly, being able to stop at breakpoints on debug mode. However, when another account transfers files within this said folder, it does not call the program, and debug mode does not work. Can someone please explain this inconsistency?

Thanks.

EDIT: I just discovered that the files uploaded by FileZilla is not triggering the windows service as opposed to copy/pasting files on the network path through windows explorer.

Can someone explain please. :)

Upvotes: 0

Views: 159

Answers (1)

mmix
mmix

Reputation: 6278

Not all file 'creation' events fire in FSW as one might imagine. If the file is locally created in another folder (temp?) and then moved to watched folder on the same drive it will fire only renamed and changed events.

Upvotes: 1

Related Questions