Hi everyone,
I am trying to list the contents of a directory in a document mgmt
system (Xythos) which appears to be implementing WebDAV correctly as
tests e.g. using DAVExplorer (http://www.davexplorer.org) worked flawlessly.
What I am doing is simply a list() call on the WebDavResource
representing the directory in question. What I get as a result is a list
of file names within that directory, along with the directory name
itself. However, the directories contained within that directory are not
included in the ouput.
I have also tried using listWebdavResources() and getChildResources() --
but without success.
Do I need to set any specific parameter to have the sub-directories of
that directory included in the listing? Am I missing something? I have
also played with the DepthSupport options but to no avail.
An example:
Say you have this directory structure:
Dir1
|-- file1
|-- file2
+-- SubDir1
+-- SubDir2
Ignoring the full path names, I would expect list() to return
{ "file1", "file2", "SubDir1", "SubDir2" }
but instead I get
{ "Dir1", "file1", "file2" }
not necessarily in the given order.
Any help is appreciated!
Clemens
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]