When
winscp.com
is executed from a batch file, and the output is redirected to a file (hence not using log option), a few header lines are shown in the file, related to the "connection" phase before the "actual commands" output:
"headers"
confirm off
Connecting to x.x.x.x.:990 ...
TLS connection established. Waiting for welcome message...
Connected
Starting the session...
Session started.
Active session: [1] user@x.x.x.x
"commands"
/directory
file.txt | 228 B | 7.2 KB/s | binary | 100%
Is there a way to skip or suppress the connection header section, and only output the result of the commands?
thanks