Make logging non-cumulative

Advertisement

ipisors
Joined:
Posts:
3

Make logging non-cumulative

Hello, I have script that operates winscp on command line to put an FTP file. After my script runs, I'd like to check the WinSCP log file to see if it was successful. However, it is very difficult to create logic to check the log file, because the log file is cumulative and includes results from a lot of other times I've sent the command line.

Is there a way to change it so that every time I command line WinSCP, it creates a log file with "just the results from that one execution"? Or otherwise isolate the current execution – maybe by force-placing certain explicit text inside the log file?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum