Hello Amr, This is in response to your reply to Luke- "putMethod for a new file in a new directory". I am new to Slide and installed the Slide-Tomcat bundle. I can access http://localhost:8080/slide via my browser with username=root and password=root.
I am trying to create a new file in a new directory as suggested by you. As of now, there are no files or directories existing except what was created by Slide. I am trying this: String status=""; boolean success=false; try { HttpURL homeUrl = new HttpURL("http://localhost:8080/slide/files"); homeUrl.setUserinfo("root","root"); res = new WebdavResource(homeUrl); if(res==null) { System.out.println("Null Connection"); } else { System.out.println("Got a connection"); } success=res.mkcolMethod("/testDir"); System.out.println("mkcolMethod: " + success); System.out.println("Status: " + res.getStatusMessage()); success=res.putMethod("/testDir/testFile","test"); System.out.println("putMethod: " + success); status=res.getStatusMessage(); } catch(HttpException he) { System.out.println(he); status="HttpException"; } catch(IOException ioe) { System.out.println(ioe); status="IOException"; } catch(Exception e) { System.out.println(e); status="Exception"; } finally { return status; } My console output shows: http8080-Processor24, 10-Jun-2004 14:26:55, root, PROPFIND, 207 "Multi-Status", 1362 ms, /files Got a connection mkcolMethod: false Status: Not Implemented (501) putMethod: false Could you please help? Thanks Luanne __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]