Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

mderousselle

Why do I not get a pure XML log file?

When I run my file transfers with a PowerShell script, I request a XML log file.
What I get is a XML log mixed with a text log.
# Connect
Write-Output "Opening Connection"
$session.DebugLogPath = $ArchiveFolder + "\sftplog.xml"
$session.Open($sessionOptions)

See the attachment
Edit: I think I figured it out.
Instead of $session.DebugLogPath, it should be $session.SessionLogPath