Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

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?
martin

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".
brunastou

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