You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Warwick Burrows <wa...@e2open.com> on 2004/09/10 01:51:23 UTC
RE: How to put a file on a webdav server that requires a password
?
I haven't tried it myself but there's a setUserInfo() method on the
WebdavResource() to set username/password in the encapsulated httpURL
object. This may not be of much use if you want to construct a
WebdavResource and connect to it in one call though. There's also
constructors that take a Credential and ones that take an HttpURL. With the
latter you could construct an HttpURL with username and password then
construct the WebdavResource with it.
Check the slide user list archives for more info though as I haven't used
any of the authentication interfaces myself.
Warwick
-----Original Message-----
From: Matt Reason [mailto:matt.reason@movielink.com]
Sent: Thursday, September 09, 2004 6:32 PM
To: slide-user@jakarta.apache.org
Subject: How to put a file on a webdav server that requires a password?
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: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Regarding BPROPFIND PROPERTY
Posted by kranga <kr...@k2d2.org>.
I don't think BPROPFIND, BMOVE, BDELETE etc. are part of the RFC standard.
Not RFC 2518 for sure. I think its a Microsoft proprietary extension
----- Original Message -----
From: "Koundinya (Sudhakar Chavali)" <su...@yahoo.com>
To: "Slide Users Mailing List" <sl...@jakarta.apache.org>
Sent: Friday, September 10, 2004 2:19 AM
Subject: Regarding BPROPFIND PROPERTY
> Hello all,
>
> I am not seeing any implementation class for BPROPFIND in slide API
>
> Is there any specific reason for this
>
> Thanks
> Sudhakar
>
>
>
> =====
> "No one can earn a million dollars honestly."- William Jennings Bryan
(1860-1925)
>
> "Make everything as simple as possible, but not simpler."- Albert Einstein
(1879-1955)
>
> "It is dangerous to be sincere unless you are also stupid."- George
Bernard Shaw (1856-1950)
>
>
>
> _______________________________
> Do you Yahoo!?
> Shop for Back-to-School deals on Yahoo! Shopping.
> http://shopping.yahoo.com/backtoschool
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Regarding BPROPFIND PROPERTY
Posted by "Koundinya (Sudhakar Chavali)" <su...@yahoo.com>.
Hello all,
I am not seeing any implementation class for BPROPFIND in slide API
Is there any specific reason for this
Thanks
Sudhakar
=====
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925)
"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)
"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw (1856-1950)
_______________________________
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org