Re: Getting the folders List from WebDav url

2005-01-18 Thread Julian Reschke
IndianAtTech wrote: FYI, Here is my query String searchQuery = ?xml version=\1.0\?; searchQuery = searchQuery + D:searchrequest xmlns:D = \DAV:\; searchQuery = searchQuery + D:sql; searchQuery = searchQuery + SELECT \DAV:displayname\ ; searchQuery = searchQuery + FROM

Re: Getting the folders List from WebDav url

2005-01-18 Thread IndianAtTech
Oh, I See. Actually I am working on Microsoft server related project only. BTW, what is the standard DASL query, if I need to get the results?? Thanks Sudhakar On Tue, 18 Jan 2005 09:26:55 +0100, Julian Reschke [EMAIL PROTECTED] wrote: IndianAtTech wrote: FYI, Here is my query

Re: Getting the folders List from WebDav url

2005-01-18 Thread Julian Reschke
IndianAtTech wrote: Oh, I See. Actually I am working on Microsoft server related project only. BTW, what is the standard DASL query, if I need to get the results?? Thanks Sudhakar Should be something like: d:searchrequest xmlns:d=DAV: d:basicsearch d:select d:propd:displayname//d:prop

Re: Getting the folders List from WebDav url

2005-01-17 Thread IndianAtTech
BTW, what is the performance of this procedure?? FileFilter filter=new FileFilter(){ /** * accept * * @param pathname File * @return boolean */ public boolean accept(File file) { return file.isDirectory(); }

Re: Getting the folders List from WebDav url

2005-01-17 Thread James Mason
You might be able to do this with a DASL search, but I don't know of any way to limit a PROPFIND like that. -James On Mon, 2005-01-17 at 14:56 +0530, IndianAtTech wrote: Hello Friends, In oder to get the folders list, I am working something like below java.io.File folders[] =

Re: Getting the folders List from WebDav url

2005-01-17 Thread IndianAtTech
Thanks James, I got the results through DASL search query. thanks for your idea Regards Sudhakar On Mon, 17 Jan 2005 20:34:42 -0800, James Mason [EMAIL PROTECTED] wrote: You might be able to do this with a DASL search, but I don't know of any way to limit a PROPFIND like that. -James

Re: Getting the folders List from WebDav url

2005-01-17 Thread IndianAtTech
FYI, Here is my query String searchQuery = ?xml version=\1.0\?; searchQuery = searchQuery + D:searchrequest xmlns:D = \DAV:\; searchQuery = searchQuery + D:sql; searchQuery = searchQuery + SELECT \DAV:displayname\ ; searchQuery = searchQuery + FROM scope('deep traversal