logs to XML

Advertisement

malva
Joined:
Posts:
7

logs to XML

Hi!

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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: logs to XML

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?

Reply with quote

Advertisement

You can post new topics in this forum