Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: Skip connection headers with scripting

No. If you want a more structured output, consider using XML logging. And you can re-format the log any way you like.

Skip connection headers with scripting

When 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:

confirm         off       

Connecting to x.x.x.x.:990 ...
TLS connection established. Waiting for welcome message...
Starting the session...
Session started.
Active session: [1] user@x.x.x.x


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?