Hi there!
I'm trying to list a directory on a remote server via webdav. When doing that for a directory that contains a file with an active lock, I get an "Unknown Error" an no directory contents are displayed.
Using the debug-level in WinSCP and analyzing the log, it seems that there are problems parsing the "timeout" tag in the server's response:
---
. 2017-12-20 12:14:42.199 XML: end-element (268, {DAV:, lockscope})
. 2017-12-20 12:14:42.199 XML: start-element (267, {DAV:, timeout}) => 272
. 2017-12-20 12:14:42.199 XML: char-data (272) returns 0
. 2017-12-20 12:14:42.199 XML: end-element for 272 failed with -1.
. 2017-12-20 12:14:42.199 XML: end-element (272, {DAV:, timeout})
. 2017-12-20 12:14:42.199 sess: Closing connection.
. 2017-12-20 12:14:42.200 sess: Connection closed.
. 2017-12-20 12:14:42.200 Request ends, status 207 class 2xx, error line:
. 2017-12-20 12:14:42.200 207 Multi-Status
. 2017-12-20 12:14:42.200 Running destroy hooks.
. 2017-12-20 12:14:42.200 Request ends.
* 2017-12-20 12:14:42.208 (ECommand) Fehler beim Anzeigen des Verzeichnisses "[REMOVED BY AUTHOR]".
* 2017-12-20 12:14:42.208 Unknown error
---
I sniffed the server's response and to me it looks like valid XML around the timeout-Tag. Here's a snippet:
---
<D:lockscope><D:exclusive/></D:lockscope><D:timeout>300</D:timeout><D:depth>0</D:depth>
---
Is this a WinSCP-XML-Parsing issue? I'm running the latest Version (5.11.3)
Any help kindly appreciated.