davidmoreno / onion

C library to create simple HTTP servers and Web Applications.
http://www.coralbits.com/libonion/
Other
2.02k stars 250 forks source link

WebDAV handler only "almost" works #248

Open jeffvandyke opened 5 years ago

jeffvandyke commented 5 years ago

In summary, the ofileserver example (with WebDAV support) behaves funny from both WinSCP and Gnome Files.

I've spent over a day experimenting with Onion's WebDAV support, and was able to explore a WebDAV endpoint using Gnome Files on Linux (but only on sub-folders), but WinSCP behaves funny. I tried the ofileserver example (compiling on Linux, accessed from a client on Windows), and though WinSCP does connect and handles subdirectories and their contents, the root directory displays a ".." entry for every file in the server root path, and no real files or folders. When WinSCP opens a sub-folder (using the folder open tool), files and folders are valid and working, albeit with Size and Changed date set to "0", but the previous directory entry shows a drive icon with no text in the label, and clicking it navigates to the root, which has all the ".." entries.

Feel free to ask any other questions about my environment or debugging information; this should be reproducable on the master branch.