I want to synchronize the remote with the local on daily basis.
Manually, the following script works (TNDOSSession is a stored session):
cd c:\program files\winscp
synchronize c:\TNDOS\Files /internet/safety/vendors/TNOmnigov
I added the options at the top as suggested, then saved the above as a script.txt
Then I constructed the following batch file as instructed, but it doesn't work.
/script=C:\Documents and Settings\kathrynt\Desktop\script.txt
I tried to change the above from .exe to .com, doesn't work either.
Then, I made the script.txt to script.bat, and it worked until opened the stored session, but it doesn't synchronize and exit.
I went through the FAQ, seems others having this problem too, but I don't understand the explanation there (T-T)
Thanks so much!