I'm trying to automate my copy of winscp 4.1.8 (Build 415) from the console with Perl on a Windows 2003 server. My problem is that the messages I really want from the program only go to the log file (as far as I can tell), and not to the console. The issue this causes is that capturing the process' full output text isn't all that safe.
So, did I miss anything in the docs? Is there a way to get the full contents of the log in the console?
Yes, but this doesn't go to the console either. If it did, I'm not sure how that would be better than simply sending the normal log output to the console. All I want to do is run it through a lexical scanner, in realtime.