Quote:
The program is kind of like a console app - it downloads a file from an ftp url for further process. Specifically, the ftp download does not take place, when run from the scheduler. I know that the authentication has succeeded, but no file is downloaded.
Change your app to log its activity to a log file, so that you can check what was done afterward.
Include each steps with information allowing you to check if a step was correct or not.
For example, include dialog with FTP server.
This should help you to narrow the search.