How to write one XML log for some SFTP sessions?
Currently I run the using the following line:
c:\"Program Files"\WinSCP\winscp.com /script=.\script.tmp /log="logFile.xml"
In script.tmp I open dosens of simultaneous SFTP sessions and transfer files to SFTP server using each of the sessions.
In the file logFile.xml, I got the operations on the last session used
but not the operations of the other sessions.
(I understand that the operations of each of the sessions were written to the logFile and overwritten the log of former session)
My question is:
How to make the winSCP write one XML log contains operations of some different sessions running by the same script?
c:\"Program Files"\WinSCP\winscp.com /script=.\script.tmp /log="logFile.xml"
In script.tmp I open dosens of simultaneous SFTP sessions and transfer files to SFTP server using each of the sessions.
In the file logFile.xml, I got the operations on the last session used
but not the operations of the other sessions.
(I understand that the operations of each of the sessions were written to the logFile and overwritten the log of former session)
My question is:
How to make the winSCP write one XML log contains operations of some different sessions running by the same script?