DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32886>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32886 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From [EMAIL PROTECTED] 2006-02-14 23:32 ------- With regard to bug 32886 http://issues.apache.org/bugzilla/show_bug.cgi?id=32886 I was wondering what version of the Slide client API the fix was put in, as I get the same error described in this bug with the 2.1 binary version I downloaded off the website today. I assume I'd need to use a 2.2 beta or release candidate(?) More info: Folder structure is below ('+' denotes folder, '-' denotes file. Note: these symbols are not part of the file name): http://dav.biscu.com/ +NewFolder1 +A New Folder +SubSubFolder -MyDocsOnline.txt -TestFileUpload.txt -MyDocsOnline.txt -TestFileUpload.txt +NewFolder3 -MyDocsOnline.txt -TestFileUpload.txt -MyDocsOnline.txt -TestFileUpload.txt +NewFolder -MyDocsOnline.txt -TestFileUpload.txt The code I used to test is below: HttpURL url = new HttpURL("http://dav.Biscu.com/"); url.setUserinfo("[EMAIL PROTECTED]", "TUSu_618"); WebdavResource wdr = new WebdavResource(url); recurseResources(wdr, 0); public void recurseResources(WebdavResource parent, int depth) throws Exception { int MAX_DEPTH = 3; if(depth > MAX_DEPTH || parent == null) return; WebdavResource[] wdrsArray = parent.listWebdavResources(); for(WebdavResource r : wdrsArray) { String s = r.isCollection() ? "[COLLECTION] " : "[FILE] "; System.out.println(repeat("\t", depth) + s + r.getDisplayName ()); if(r.isCollection()) recurseResources(r, depth + 1); } } public String repeat(String s, int n) { StringBuffer sb = new StringBuffer(); for(int i = 0; i < n; ++i) sb.append(s); return sb.toString(); } The output was: [FILE] TestFileUpload.txt [FILE] MyDocsOnline.txt [COLLECTION] NewFolder2 [FILE] TestFileUpload.txt [FILE] MyDocsOnline.txt [COLLECTION] NewFolder2 [FILE] TestFileUpload.txt [FILE] MyDocsOnline.txt [COLLECTION] NewFolder2 [FILE] TestFileUpload.txt [FILE] MyDocsOnline.txt [COLLECTION] NewFolder2 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]