Okay so I'm in a dilemma here. What I need is a solution for my following problem: I basically want to automatically upload some files to my server as soon as they got created into client system's specific folder. There will be some files that would be created in a specific path, suppose on path: C:\User\Desktop\Scanned Files, now as soon as user saves their files into this path some window service kind of thing should pick the file up and upload to my server. Process should be fast enough, I mean no longer than 1 minute.
I can either go with the windows service or scheduled task. As far as I know windows service are always running on background but they need to run with a timer which runs periodically and do the allotted operation. and scheduled task runs on a particular point of time. First of all I'm quite confused here which approach should I go with and what would fulfill my requirement more efficiently and feasibly. Or is there any better way to do this other than windows service and scheduled task?