Topic "logs to XML"

Author Message
[View user's profile]

Joined: 2014-10-24
Posts: 7

I have a problem with logs to xml.
I'm using $session.XmlLogPath = "D:\ftps\log.xml"

When I'm creating empty log.xml file and running script, it gives me: "Configured temporary file D:\ftps\log.xml already exist".
When there's no log.xml file, after running script no file is created with log.

Anybody could help?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
The XML log is used internally by the WinSCP .NET assembly. The assembly deletes the (temporary) log, when the session closes.

The Session.XmlLogPath is not part of the assembly public interface. It's available for debugging purposes only.

What are you trying to do?

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License