If the server is exposed to the public internet, they probably are not using NT authentication. The easiest way to find out is
1 - See what port Windows Explorer uses when trying to connect to the webdav folder 2 - Open the URL in IE and see if its an IE authentication window or if its a windows prompt (with the domain name). Also remember that if its NT authentication, you cannot access it from any non-MS platform. If the webdav is running on IIS, I'd suggest changing the auth mechanism on IIS to basic and running it over SSL-3. ----- Original Message ----- From: "Matt Reason" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, September 10, 2004 4:57 PM Subject: RE: How to put a file on a webdav server that requires a password? I was afraid of that. I've asked the partner company to confirm type of authentication they're using. I have a strong suspicion that the worst is true and they are using NT authentication. If that's the case, what can I do? Is there another client I can use? -----Original Message----- From: kranga [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 1:32 PM To: Slide Users Mailing List Subject: Re: How to put a file on a webdav server that requires a password? Is your webdav server using Windows NT authentication or Basic authentication? If windows NT, then the slide client will not support it. ----- Original Message ----- From: "Matt Reason" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, September 10, 2004 4:05 PM Subject: RE: How to put a file on a webdav server that requires a password? Thank you, that got me a step further. Now here's where it's getting nasty: 1. The server is a Micro$oft machine that uses the DOMAIN\USER syntax. 2. The URL is an https url. So for one reason or the other, or both, I'm get a 401 (Unauthorized) error when I create my webdavResource. Does anyone have experience with this? All help appreciated... Matt -----Original Message----- From: Simone Gianni [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 5:09 PM To: Slide Users Mailing List Subject: Re: How to put a file on a webdav server that requires a password? This should work : String strURL = "http://somw.where.com/slide/file/etc/"; String user = "simone"; String pass = "don't tell anyone"; HttpURL inURL = new HttpURL(strURL); hu.setUserinfo(user, pass); WebdavResource webdavResource = new WebdavResource(inURL); ...... Ciao, Simone Gianni Matt Reason wrote: > >Hi, > >I've downloaded and installed the webdav client. I am able put files on >a local webdav server that does not require a password with this code: > > WebdavResource webdavResource = new WebdavResource(inURL); > File file = new File (inFile); > if (webdavResource.putMethod(inRemotePathAndName, file)) { > System.out.println("It worked: " + >webdavResource.getStatusMessage()); > } else { > System.out.println("It didn't work: " + >webdavResource.getStatusMessage()); > } > >But now I have to send the file to a server that requires a password. I >have searched the javadoc like crazy and it says nothing about >passwords. Is there a way to do it? > >Thanks in advance, > >Matt > > > --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
