Hello! I am currently undertaking a project that requires me to make use of WebDAV and SLIDE. I am supposed to implement the webdav client to manage files on the server. I am using Slide 1.0.16 Jakarta-tomcat-4.0.1. The server is run on my computer. I came upon ur site in the course of my research and I found your site extremely helpful, especially the section on installation and configuration. However, I am relatively new to WebDAV and still unclear about certain aspects of it. Currently I am facing some problems. I hope you might be able to help.
I run the tomcat server and created a network folder pointing to http://localhost:8080/slide and managed to upload a file to /files. I'm using the WebDAV client API. How do I retrieve the file that I have uploaded? What methods and classes do I use? I tried using the GetMethod, but what i get is just the printout of the whole html source. The lock and unlock method doesn't seem to work for me too. Then i tried using the PropFindMethod but encountered the following error: Start session : Host:localhost Port:8080 HTTPS:false Reopen connection : Host:localhost Port:8080 PROPFIND http%3A//localhost%3A8080/slide/files/aoop/ HTTP/1.1 Content-Length: 91 Content-Type: text/xml; charset=utf-8 Host: localhost:8080 Depth: 1 User-Agent: Jakarta HTTP Client/1.0 HTTP/1.1 501 Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API Content-Type: text/html Connection: close Date: Tue, 20 Aug 2002 02:34:56 GMT Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector) Closing connection Interactive Session Ended ..hmm..any idea? my code goes something like dat: client = new HttpClient(); client.setDebug(10); url = new URL("http","localhost", 8080, "/files"); client.startSession(url, new Credentials(loginUserName,loginPassword)); path = "http://localhost:8080/slide/files/aoop/"; pfm = new PropFindMethod(path); pfm.setDepth(PropFindMethod.DEPTH_1); client.executeMethod(pfm); Pls advice. Your help is greatly appreciated. Thank you very much. Regards, Sharon -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
