Topic "VBScript aborts with error in System.xml"

Author Message
arose
[View user's profile]

Joined: 2012-11-21
Posts: 1
Location: Germany
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Thanks for your post.

This issue has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=944
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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.
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