Sliding into WebDAV
Subject:   Traversing Directory Trees
Date:   2005-03-02 07:10:24
From:   afsteed
I'm having trouble using the slide webdav client to traverse a directory tree on the server.

My server is Apache 2.0.53 with webdav enabled, and the directory structure is:


/dav/, /dav/FolderA/, and /dav/FolderB/FolderC/ contain files.

If I create a WebdavResource to /dav/ and do either a list() or getChildResources() it lists only the files and not the subdirectories. However, it lists itself as a child if and only if there are subdirectories.

Example, if I remove FolderA and FolderB from /dav/, and do a list() or getChildResources() I get this:

But if /dav/ contains any subdirectories, I get this:

Given a WebdavResource that is a collection, how do you get a list of the collections contained in it?

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Traversing Directory Trees
    2005-03-02 07:13:18  afsteed [View]

    I should also mention that I'm using the Slide WebDAV client version 2.1
    • Traversing Directory Trees
      2005-05-31 15:56:05  artur_j [View]


      There is a bug in 2.1 version. For detailed information taka a look at:

      In the bug description you'll find a workaround for this problem.