Filter out WinSCP.com connection text?
Hi,
It seems there is no way to remove/hide the connection text that don't interest me.
Consider this command to find if a "no-file" exists on the server.
I would like to remove all lines WinSCP displays for the connection (the first 7 lines) and only display what my command does, which are:
2 suggestions:
Note:
These two lines seem to contradict. The first line says "ok, I know there is no file here" and the second one says "I don't know what happened".
It looks like a bug to me.
It seems there is no way to remove/hide the connection text that don't interest me.
Consider this command to find if a "no-file" exists on the server.
Prompt> WinSCP.com /command "option batch continue" "option confirm off" "open ftp://..." "stat /no-file" exit batch continue confirm off Connecting to ... Connected Starting the session... Session started. Active session: [1] user@... Can't get attributes of file '/no-file'. Could not retrieve file information Unknown error
I would like to remove all lines WinSCP displays for the connection (the first 7 lines) and only display what my command does, which are:
This way it is simpler to analyse the result.Can't get attributes of file '/no-file'.
Could not retrieve file information
Unknown error
2 suggestions:
- The first lines could be sent to stderr, and the 3 last could be sent to stdout.
- you could add two logging arguments like:
/logconnect=C:\file1.log /logcommands=C:\file2.log
Note:
Could not retrieve file information Unknown error
It looks like a bug to me.