Topic "Not showing contents of WebDAV"

Author Message
boegh
[View user's profile]

Joined: 2015-10-22
Posts: 1
Location: Denmark
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.

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
winscp.log (26.5 KB) [Download]

Description: Logfile of logon and directory listing

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24538
Location: Prague, Czechia
A response from Air Sharing looks like:

Code:
<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://tools.ietf.org/html/rfc4918#section-14.24

WinSCP ignores entries without <propstat>.
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