"Host does not exist" when run from Task Scheduler
Hi, I'm trying to automate FTP file synchronisation by running a batch file from Task Scheduler (currently on Windows 2008R2 server).
The batch file I'm trying to run contains the following:
The script file it is referencing simply contains this:
When I manually run the batch file everything works perfectly.
However, when I run it via Task Scheduler the batch file appears to run because it writes to log file but I get the following:
Anybody have any ideas what might be going on?
The batch file I'm trying to run contains the following:
WinSCP.com /Console /Script=WinSCP_SyncRA_CV_script.txt
The script file it is referencing simply contains this:
open RA_CV_Storage_FTP synchronize local close exit
When I manually run the batch file everything works perfectly.
However, when I run it via Task Scheduler the batch file appears to run because it writes to log file but I get the following:
Searching for host... Host "RA_CV_Storage_FTP" does not exist.
Anybody have any ideas what might be going on?