overwrite log file

Advertisement

Guest

overwrite log file

how can I overwrite the log file using command

winscp.exe TESTUSER /console /script="C:\docs\bat\winscp.txt" /log="c:\docs\bat\winscp.log"

I see int he windows gui on the logging tab (window) I can set the overwrite option how can I do this using the scripting or commands?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

Re: overwrite log file

This cannot be set on command-line. You have to configure it in the GUI.

Reply with quote

EduTech
Guest

Re: overwrite log file

martin wrote:

This cannot be set on command-line. You have to configure it in the GUI.

If you set the configuration in the GUI for how log files should be generated (i.e. overwrite), do those rules then apply to any script commands?

Reply with quote

Advertisement

You can post new topics in this forum