Recently I came across one of the requirements to read .csv files from FTP server and made them available to external system for processing. The system should read as soon as file is available on FTP server.
I thought about the solution, 1. FTP Server --> 2. Custom Windows service used as poller to know whether a new file has came--> 3. Put a message in a queue --> 4. external system as subscriber to queue.
Now I am thinking that whether Azure webjobs/functions can be used here in place of custom windows service as external system is already in Azure.
Any explanation with configuration setting are needed/expected..
Sure you can. WebJobs can either run continuously or on a cron-like schedule. Write a Console Application instead of a Windows Service. That being said, there's an easier way to implement your workflow - Logic Apps:
If you need a step that you can't implement in Logic Apps, just use the HTTP connector and call an Azure Function or check this out for a more elaborate flow.