Indeed C:\writable\%TEMP%\WinSCP.log
is hardly a valid path. You probably wanted: /log="%TEMP%\WinSCP.log"
.
Hi,
I am trying to automate my process of file synchronization using ftp. I am using the task scheduler and a script on txt. Can anyone check for me if what I am doing is correct, please? I think the problem is on the \log path, but I do not know how to find it or what I should change.
Task scheduler:
Start a program - "C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\writable\%TEMP%\WinSCP.log" /ini=nul /script="C:\Users\eto\Documents\Test\Test4.txt"
Script on txt:
open ftpes://bi%40gmail.com:password@ftp.onehub.com:2001/ -certificate="fg:er:67:45:69:92:a9:lk:n4:ma:b1:ba:t0:96:19:uj:34:m7:53:tg"
synchronize local C:\Users\eto\Documents\Test /Master Data File/Data/
exit