401 means unauthorized. You need to pass a valid username/passworld
pair. Either use WebdavResource.setUserInfo() or pass them as part of
the url: http://user:[EMAIL PROTECTED]:port/path/to/file/

-James

>>> [EMAIL PROTECTED] 6/22/2004 1:00:50 PM >>>
I downloaded the webdav java client, and I'm trying to use it embedded
in a webapp to an existing webdav (not sure exactly what brand).

The problem I'm having is that when I try to create a WebdavResource
ala:

WebdavResource res = new
WebdavResource("https://drs.domain.net/webdav/",blahblah....)

I'm getting a 401 error code. If I load this url into a browser, I get
the webdav fine. What am I missing?



-- 
Michael Stover < [EMAIL PROTECTED] >
Apache Software Foundation


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to