List Info

Thread: slide client




slide client
user name
2006-07-19 21:18:24
Hello!

I believe that getMethod needs an absolute path like: 
/slide/files/filename.txt. You should look at the server's
log, it could 
help you.

----- Original Message ----- 
From: "Julien Chambert" <julien.chambertgmail.com>
To: <slide-userjakarta.apache.org>
Sent: Wednesday, July 19, 2006 3:33 PM
Subject: slide client


> i'm a new bee in use of slide
>
> i try to use slide client on a java application and
don't manage to get
> file.
>
> here is my code:
>     .....
>     File temp = new File("temp.xml");
>     root = new WebdavResource(webdavRootUrl);
>     temp.CreateNewFile();
>     System.out.println(webdavRootUrl);
>     Sytem.out.println("read
:"+temp.canRead()+" write:
"+temp.canWrite());
>    
System.out.println(root.getMethod("config/projects_con
fig.xml",temp));
>     ....
>
> it displays:
>     http://localhost:8
080/slide/files/
>     read: true write: true
>     false
>
> I don't understand when I check with konqueror the
file exists.....
>
> Can someone explain me what i have missed???
>
> thanks for your answer
> 


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )