Problem with automation and task scheduler

Advertisement

brunastou
Joined:
Posts:
1

Problem with automation and task scheduler

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Problem with automation and task scheduler

Indeed C:\writable\%TEMP%\WinSCP.log is hardly a valid path. You probably wanted: /log="%TEMP%\WinSCP.log".

Reply with quote

Guest

Re: Problem with automation and task scheduler

martin wrote:

Indeed C:\writable\%TEMP%\WinSCP.log is hardly a valid path. You probably wanted: /log="%TEMP%\WinSCP.log".

Hi, Martin,

It is still not working. Any other clue?

Reply with quote

Advertisement

You can post new topics in this forum