Posted: 2013-10-30 16:43
I'm having a problem using the Synchronize feature with Windows Task Scheduler.
Basically i have a Batch file running WinSCP Script that calls the synchronize local feature against a SFTP folder. the local directory is a mapped folder (P:) and is accessible by the scheduler.
The script looks like this:
option transfer binary
synchronize local P:\ /remotefolder
The SFTP folder is updated at 6am, and i have a task to run the synchronize script as 7.30am. When this is run through the task scheduler the batch works completely fine but the synchronize is not finding the new files placed at 6am that day - and finding the rest. I setup the WinScp Logging and i can see it goes through the files but does not seem to "find" the new files.
When i review and run the task scheduler manually (from Task Scheduler clicking Run) the process works perfect and finds the files. Running the batch file directly works fine as well.
Has anyone encountered this problem? In terms of task privilege this should be ok as i have another task running running fine with same credentials and permissions.
Thanks in Advance!
Location: Prague, Czechia
Please attach complete log files showing both scheduled and manual run.
To generate log file, use
You can post new topics in this forum
And it's free!