Is there any other option to get continuous xml log?
You can merge them. E.g. using XSLT, it should be rather easy.
Any idea how to redirect this long mylog.txt or output.txt to xml?
I do not understand what you mean by "redirect to XML".
Is there any other option to get continuous xml log?
Any idea how to redirect this long mylog.txt or output.txt to xml?
winscp.com /script=script.txt /parameter user:password@host1 /log=mylog.txt > output.txt
winscp.com /script=script.txt /parameter user:password@host2 /log=mylog.txt >> output.txt
winscp.com /script=script.txt /parameter user:password@host3 /log=mylog.txt >> output.txt
>>
:
winscp.com /script=script.txt /parameter user:password@host1 /log=mylog.txt > output.txt
winscp.com /script=script.txt /parameter user:password@host2 /log=mylog.txt >> output.txt
winscp.com /script=script.txt /parameter user:password@host3 /log=mylog.txt >> output.txt
!S-!Y!M!D!T
:
winscp.com /script=script.txt /parameter user:password@host1 /log=mylog-!S-!Y!M!D!T.xml
open %1% -hostkey=*
cd /var/tmp
option transfer binary
put c:/winscp/example.txt
close
exit
winscp.com /script=script.txt /parameter user:password@host1 /log=mylog.txt
winscp.com /script=script.txt /parameter user:password@host2 /log=mylog.txt
winscp.com /script=script.txt /parameter user:password@host3 /log=mylog.txt
winscp.com /script=script.txt /parameter user:password@host1 /log=mylog.txt>output.txt
winscp.com /script=script.txt /parameter user:password@host2 /log=mylog.txt>output.txt
winscp.com /script=script.txt /parameter user:password@host3 /log=mylog.txt>output.txt
winscp.com /script=script.txt /parameter user:password@host1 /log=mylog.xml
winscp.com /script=script.txt /parameter user:password@host2 /log=mylog.xml
winscp.com /script=script.txt /parameter user:password@host3 /log=mylog.xml