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

martin

Re: VBScript aborts with error in System.xml

Thanks for your report.
I have sent you an email with a development version of WinSCP to address you have used to register on this forum.
martin

Re: VBScript aborts with error in System.xml

Thanks for your post.

This issue has been added to the tracker:
https://winscp.net/tracker/944
arose

VBScript aborts with error in System.xml

I have two VBScripts using WinSCP .NET automation objects which are started nearly at the same time.
Each scripts gets a couple of files using
"set WinSCP_TransferOperationResult = WinSCP_Session.GetFiles(RemotePath, DESTFOLDER)"
in a loop.

Both scripts abort with an error in System.Xml like "The 'group' start tag on line 54 does not match the end tag of 'download'. Line 57, position 7."

Reason: WinSCP writes a temporary xml file in the TEMP folder with information of each file transfer of the session and its result. Unfortunatelly both scripts are using the same temporary file mixing up their output and damaging the XML structure.

Using WinSCP 5.1.1 with WinSCP .NET Assembly and .NET Framework 2.0 on Windows Server 2008 R2