I have then scheduled winscp.exe with argument "/console/script=D:\sync.txt"
sync.txt file contains the following commands.
option batch on
option confirm off
option transfer binary
get /desiredFile.extension pathInLocalComputer
When I am running the task, winscp window is opening but it is not logging in.
Any help anyone?