Skip connection headers with scripting

Advertisement

sumi
Donor
Joined:
Posts:
1
Location:
it

Skip connection headers with scripting

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

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum