Not showing contents of WebDAV

Advertisement

boegh
Joined:
Posts:
1
Location:
Denmark

Not showing contents of WebDAV

I'm using the iOS app Air Sharing, which brings a WebDAV server to the iPhone/iPad. I'm using version 3.5 which is the the latest release (<invalid hyperlink removed by admin>).

Using the Windows application NetDrive or MacOS X I'm able to access the WebDAV without any fuss, but WinSCP seems to be having an issue of not showing directory contents, though it does get, what - as far as I can see - a correct response to its PROPFIND request. It's the first time I try the WebDAV implementation of WinSCP, so I don't know if it is something new.
Uploading files is no problem, they do get to the WebDAV correctly and are accessible from the iPhone.
The server is running on port 65100 - I've also tried to have it on 80, generating the same result. Though the app also include a secure service, I haven't be using it so far, to keep things as simple as possible.

Version of WinSCP: Version 5.7.5 (Build 5665)
Version of Microsoft Windows: Windows 10 Pro (10.0.10240)
Transfer protocol: WebDAV
GUI or scripting/automation: GUI in Commander interface style
Description: Logfile of logon and directory listing

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Not showing contents of WebDAV

A response from Air Sharing looks like:

<D:response>
<D:href>/</D:href>
</D:response>
<D:response>
<D:href>/Public</D:href>
</D:response>

This imo violates the WebDAV specification which mandates that the <response> tag has to contain (in addition to <href>) at least one <propstat> (or <status> in case of errors).

See RFC 4918 section 14.24:

<!ELEMENT response (href, ((href*, status)|(propstat+)), error?, responsedescription? , location?) >

https://datatracker.ietf.org/doc/html/rfc4918#section-14.24

WinSCP ignores entries without <propstat>.

Reply with quote

Advertisement

You can post new topics in this forum