The problem is that I can't write to the file. I tried just to create an empty file this way webfile.createNewFile(); And I doesn't works, returns false.
Also I can't write to the file, nor delete it..... I can do nothing with the file. But, no exceptions ! ------- Original message ------- From: Martin Dulisch <[EMAIL PROTECTED]> Date: Mon, 3 Nov 2003 09:28:38 +0100 Subject: Re: Java Client Problem What is the exact problem? Do you get a exception? Martin >> Hi >> >> I'm new to Slide and WebDav >> >> I want to use slide for a very simple application. I want >> the application to save a file to the public html directory >> from a user on a web server. >> >> I guess it's very simple but I could no make it works. >> >> Here's the code I'm using to save the file >> >> WebdavResource wdres=null; >> String url = "http://mywebserver/~user/public_html/dav.xml"; >> HttpURL httpURL = new HttpURL(url); >> httpURL.setUserInfo("user","password"); >> wdres = new WebdavResource(httpURL); >> >> //boolean done = webres.putMethod(file); //I tried this way >> but it didn't work >> >> WebdavFile webfile = new WebdavFile(wdres); >> >> >> Any Ideas will be very much appreciated and a sample code >> would be absolutely great >> >> Thanks >> >> Capital One Classic >> Mastercard >> 60 second >> response online. >> http://mocda.com/1/c/681064/117934/307081/307081 >> >> AOL users go here >> http://mocda.com/1/c/681064/117934/307081/307081 >> >> >> > > > >> -------------------------------------------------------------- ------- >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Capital One Classic Mastercard 60 second response online. http://mocda.com/1/c/681064/117934/307081/307081 AOL users go here http://mocda.com/1/c/681064/117934/307081/307081
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
