Log file growing larger than specified limit

Advertisement

rblair@caliberpublicsafety.com
Joined:
Posts:
1
Location:
Arkansas

Log file growing larger than specified limit

Below are the parameters of my batch script. Based on my understanding, my log file size should be limited to 10MB and I would only have 5 log files in retention. However, as it sits, my log file 101MB and still growing. Please let me know what I might be missing.
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
  /log="E:\ftplog\WinSCP.log" /ini=nul /logsize=5*10M ^
  /command ^
   "open  redacted" ^
    "option batch continue" ^
   "option confirm off" ^
   "lcd E:\Peraton" ^
    "cd /" ^
    "put -delete *.xml" ^
    "exit"

Reply with quote

Advertisement

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

Re: Log file growing larger than specified limit

Your syntax looks good. Make sure you have up to date version of WinSCP. If you have, please attach the session log (or just its header).

Reply with quote

Advertisement

You can post new topics in this forum