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 Martin Dulisch <md...@s-und-n.de> on 2004/03/01 14:50:36 UTC
Re: org.apache.webdav.lib.WebdavException
Try to use WebDAVResource instead of WebdavFile.
Martin
Jean-Philippe Pattus wrote:
> Another question, sorry it's my first time with dav and slide .
> how can i create a subdirectory :
> my code is :
>
> WebdavFile temp1 = new WebdavFile(new
> HttpURL("http://MyServer:80/Publish/titi"));
> temp1.mkdir();
>
> where Publish is an alias on my http server. When i execute my code the
> result is :
> org.apache.webdav.lib.WebdavException
> at org.apache.webdav.lib.WebdavFile.mkdir(WebdavFile.java:539)
> at org.apache.webdav.lib.WebdavFile.main(WebdavFile.java:658)
>
> i don't understand what is exactly the problem. is there an authentication
> problem (i don't put authentication on my server), or is the problem
> between my chair and my screen.
>
> regards,
> jp
>
> Jean-Philippe Pattus
> Sogitec Industries - www.sogitec.fr
> Division Documentation et Systemes
> Tel. : 02.99.05.34.25
> Fax : 02.99.05.34.05
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
--
Martin Dulisch
Open Source Group, S&N AG
mdulisch@s-und-n.de
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org