Topic "XML Logging not working"

Author Message
muehlc
[View user's profile]

Joined: 2012-02-03
Posts: 2
Location: MD, USA
I am running a WinSCP script through an SSIS task, and need to have the results of that script logged in XML format. I have enabled logging, but the results in my log are always in the session log format, never in XML. I have not been able to find anywhere in the documentation (and believe me, I have looked long and hard) how to specify that I want the output in XML format. My log file does have the .xml extension, but I am at a loss as to what else I need to do to make the contents of the log file be written in XML format. I am using v4.1.8 (build 415). If anyone can tell me what I'm doing wrong, I'd greatly appreciate it.
Advertisements
TimU
[View user's profile]

Joined: 2012-01-30
Posts: 25
Location: Sydney
I believe XML Logging was only introduced in the v5.x beta versions.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24554
Location: Prague, Czechia
It is available in 4.x too. But definitelly was not in 4.1.8 yet. Please upgrade.
_________________
Martin Prikryl
muehlc
[View user's profile]

Joined: 2012-02-03
Posts: 2
Location: MD, USA
I do love an easy solution to my problems. Works perfectly after upgrade. Thanks!
TimU
[View user's profile]

Joined: 2012-01-30
Posts: 25
Location: Sydney
prikryl wrote:
It is available in 4.x too.[...]

Really? I'm sure I tried it with the latest 4.x version last week, and it didn't produce an XML log at all.
Tim
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24554
Location: Prague, Czechia
Before 5.x XML logging was enabled by: /log=filename.XML
http://winscp.net/eng/docs/commandline#session
_________________
Martin Prikryl
TimU
[View user's profile]

Joined: 2012-01-30
Posts: 25
Location: Sydney
Ahhh, I see now. Very good! Smile
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