Forget about WebdavFile. Its canRead() method always returns true. > Hi Ingo, > to be true that's what I did: > > 1. > - create a HttpURL with user,passwd,host,port,path constructor > - create a WebdavResource from that (HttpURL-constructor) > - call the isCollection() method > -> Exception
Strange. I would expect that you get the exception as soon as you call the WebdavResource constructor. Can you post the stack trace and possibly a trace of the network traffic? > > so I went for this: > 2. > - create a HttpURL with user,passwd,host,port,path constructor > - create a WebdavFile from it (HttpURL-constructor) > - call the canRead() method > -> true > > yippieh! > > so I try > 3. > - create a HttpURL with user,passwd,host,port,path > - create a WebdavFile from it > - call the isDirectory() method > -> Exception > > I also tried the other constructor of WebdavFile, that uses uriString, > user and password, but this one complained about my path. It said > something like "queried absolute path" but I used the exact same path as > with HttpURL. > > That's where I'm stuck right now. > > Frank --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
