Limit log file size, command line, XP
Command line looks similar to this
"C:\Program Files\WinSCP3\WinSCP.exe" /log=logfile.txt /command "open user:pass@server.com" "get *.* c:\folder\" "exit"
Advertisement
"C:\Program Files\WinSCP3\WinSCP.exe" /log=logfile.txt /command "open user:pass@server.com" "get *.* c:\folder\" "exit"
Advertisement
Advertisement
You can set the INI file read-only.When I am using ini and have just logging section saved to it, it works fine but after script is run, it write all other options to ini file. That is the reason I dont want to use ini.
Advertisement
Advertisement
Advertisement
Advertisement
WinSCP /log=logfile.txt /logsize=5MB /command "open user:pass@server.com" "get *.* c:\folder\" "exit"
Advertisement
You can post new topics in this forum