Hi all, the code I am using is:

String path_server = "http://localhost:8088/";;
String path_repository = "repository/contenido/docs/";
                        
File arch = new File(folder_path + "/" + "any.txt");

HttpURL url = new HttpURL(path_servidor + path_repositorio);
WebdavResource res = new WebdavResource(url);
                                
if (arch.exists()) {
  boolean resultado = res.putMethod(path_repositorio + arch.getName(), arch);
  res.close();
}

I have also tried it without the path in the putMethod parameters. Any ideas ? 

Thanks,

Daniel Serrano

Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>:

> Hello, has anybody been able to connect to subversion using the Slide Client
> 
> API. It is a great API to work with but so far I have only been able to
> optain 
> information from a subversion repository. I haven't been able to put or
> delete 
> methods from the server. I don't get any exceptions just false from the 
> putMethod. What could be wrong ? I am using Slide 1.0.16, Apache 2.0.48 as a
> 
> Web Server and I am trying to access the repository from a Servlet running in
> 
> Tomcat 5.0. All this in Windows 2K environment. Please help !
> 
> Thanks,
> 
> Daniel Serrano
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to