Topic "How to write one XML log for some SFTP sessions?"

Author Message
Guest




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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Anonymous wrote:
How to make the winSCP write one XML log contains operations of some different sessions running by the same script?

You cannot. The XML log records single session only. Though you can have separate log file for every session. !S or !T patterns may be useful for this. Please read documentation. If that does not help, come back.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License