Question

In "IT Hit WebDAV Server Engine" implementation I have IHierarchyItem.Name returning “My Folder”. But IHierarchyItem.Path returns /2347182436872364/971553455213456772/ for the same item.

In Windows Explorer this folder is displayed as 971553455213456772 while in "IT Hit Ajax File Browser" it is displayed as "My Folder".

How do I make them both to have the same human-readable name?

Was it helpful?

Solution

Microsoft Mini-redirector (which is used by Windows Explorer to access the WebDAV server behind the scenes) ignores display name returned by WebDAV server and just uses the last part of Url as a file or folder name.

The only way to achieve identical behavior in Windows Explorer and other WebDAV clients is to return the same text both for folder name and for Url part. That is in your case, to make names human-readable and identical to what Ajax File Browser displays, your Path implementation must return ‘/Folder/My Folder/’.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top