I have a dos batch file that launches Core FTP LE perfectly when invoked manually. However, when Windows task scheduler runs the same dos batch, it never launches CoreFTP LE. The status of the task simply shows "running", and will do so indefinetely, until stopped. I know the task does infact launch the dos batch because I log each phase of the batch, and the preceeding lines within the batch are executed as expected.
"c:\program files\coreftp\coreftp.exe" -OG -site ADS -u "K:\Sapphire\tlogs\Daily\*.gz" -p "/cygdrive/D/Data Drop/localuser/2079Tesoro/Sapphire" -output "C:\TLOGS_FTP\LOGS\COREFTP\%mdate%_%mtime%_ADS_FTP.LOG"
Win2008 Server,R2 32-bit
Any ideas? Do I need to buy the PRO version?
Core LE won't launch using Windows Task Scheduler
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am
The scheduled task may use the system account by default, and if that's the case it won't see your site profile.
Either change the user to match the Windows account you created the site profile with (-site) or use file based storage of site profiles (view -> options -> data -> use default configuration file
Additionally you may have to select "interact with desktop" if that option is available to you.
Either change the user to match the Windows account you created the site profile with (-site) or use file based storage of site profiles (view -> options -> data -> use default configuration file
Additionally you may have to select "interact with desktop" if that option is available to you.