Sweet!  That did it.  I had thought I was covered with the HTTPClient
Credentials object, but I guess that only applies to the proxy server...

Thank you!

-Mike


On Tue, 2004-06-22 at 16:13, James Mason wrote:
> 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]

Reply via email to