I need a simple configurable Windows service written in lazarus that regularly queries Microsoft SQL server and the result stores as an CSV file on FTP server.
The service has to work on any Windows starting from XP and Microsoft SQL server starting from 2005.