The command line client shows the displayname of resources when e.g. listing collection content. This is a wrong behavior as it really should be the last segment of the path of the resource. Otherwise the user might get confused as it is likely that more than one resource has the same displayname, e.g. when it has been copied.
Sorry, did not mention, this is only when you do ls -l, not when you do ls.
Created attachment 11181 [details] method "ls" changed. Output routine adapted to the modified method org.apache.webdav.lib.WebdavResource.listBasic()
Created attachment 11182 [details] The Elements of the returning vector append with the 'file name'.
In order to diplay the rigth file name the method listBasic of WebdavResource has to be expanded for picking up the rigth file name. Therefor the output routine of methode ls() (client class) had to be changed also.
Patch applied