You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Owen Byrne <ow...@mail.dcu.ie> on 2005/08/16 10:05:00 UTC

sub-folders not displaying

Hi,

 I'm developing a web-dav client and I can't seem to view sub-folders using
the slide webdavclient library (version 2.1). 

(on the server side I'm running Apache/2.0.54 DAV/2 ) I can connect to a
webdav folder just fine and the *files* within folders display just fine.
However, sub-folders, 

although they do exist, do not display! I've verified that everything is
ok on the server side through the use of 

alternative webdav clients such as "windows web folders" and "Dav Explorer"
which (don't use the slide libraries)

and these clients list files & sub-directories as expected.



eg directory structure:



   webdav-folder

	|

	|---sub-folder1

	|     	|

	|	|--sub-folder1-1

	|	|

	|	|--sub-folder1-2

	|	|

	|	|--file3

	|	|

	|	|--file4	

	|

	|---sub-folder2

	|

	|---file1

	|

	|---file2





Using the slide client libraries, I connect to http://localhost/webdav-folder
and perform a WebdavResource.list() -this will return the names of

 file1 and file2 but *not* sub-folder1 or sub-folder2. Other methods such
as getChildResources(), listWebdavResources() -also only return *file* resources!





If I know that "sub-folder1" exists, I can connect to http://localhost/webdav-folder/sub-folder1
and successfully list file3 and file4, but there's no sign of sub-folder1-1
or sub-folder1-2 !



I've also tried the commandline jakarta slide client which produces the same
wrong results. What's frustrating is that other web-dav clients

such as DAV Explorer (which doesn't use slide) work fine.





A similar question was asked on this forum recently which received some replies,
but alas not a solution. Has anyone

else encountered this, or can point me in the right direction?



Many Thanks for your help,

Owen



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org