Hello friends,

 I'm glad to discuss my progress with the slide API as well as emerging challenges
 I have been able to get a file from the server
 I have also been able to put a file into the server.
 However, I am experiencing some challenges
 1) I could not retrieve any of the files I put into the server. When I use the 
getmethod() of the
 WebdavResource() , what I see is the Jarkata home page of the server.
 2)I need to also be able to specify the actual file I want from the server, when 
using the getmethod()
 
 3)I want to be able to create remote folders and subfolders on the server.
 Finally, I am amazed that on browsing thru the server file system manually from the 
explorer, I could  not find the folder where the documents are stored.
 I hope someone will be able to shed light on these areas.
 I thank you all!
 COGI
HINT
====
 I am using Slide Tomcat 5.0.6 server
 Windows 2000 professional OS


Martin Dulisch <[EMAIL PROTECTED]> wrote:
Which version of slide are you using? Try it with the last beta. In 
this version the HttpURL class from commons HttpClient ist supported 
(not org.apache.util.HttpURL).

Martin


Gbenga Bello wrote:

> Thanks 
> I have tried the sample code in the page specified
> But I am getting a error when I try to connect with this line of code
> 
> WebdavResource wdr =
> new WebdavResource(hrl);
> 
> The error is that "The class WebdavResource is a protected class ......."
> 
> Here is full copy of the code
> 
> import java.io.File;
> import java.io.IOException;
> import java.net.MalformedURLException;
> 
> import org.apache.commons.httpclient.HttpException;
> import org.apache.util.HttpURL;
> import org.apache.webdav.lib.WebdavResource;
> 
> public class SlideTest {
> 
> public static void main (String args[]) 
> {
> try
> {
> HttpURL hrl =
> new HttpURL("http://webdav-server";);
> hrl.setUserInfo("user","pass");
> WebdavResource wdr =
> new WebdavResource(hrl);
> File fn = new File("remote-file");
> wdr.getMethod(fn);
> wdr.close();
> }
> catch(MalformedURLException mue)
> {
> }
> catch(HttpException he)
> {
> }
> catch(IOException ioe)
> {
> } 
> }
> }
> 
> I hope I can get assistance from any one
> 
> Thanks 
> 
> COGI
> 
> 
> lixin chu 
wrote:
> I am also searching...
> 
> 1.
> http://www.onjava.com/pub/a/onjava/2003/12/23/slide.html
> 
> 
> 2. Slide web site
> 
> 3. source code
> 
> --- Gbenga Bello wrote:
> 
>>Hello People,
>>
>>Please Can any one provide help on how to relate
>>with slide to have a feel of its basic
>>functionalities.
>>
>>Pls I will appreciate a detailed instructional steps
>>on what to do.
>>
>>Expecting your reply soon.
>>Thanks
>>
>>
>>---------------------------------
>>Do you Yahoo!?
>>Get better spam protection with Yahoo! Mail
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail.
> http://antispam.yahoo.com/tools
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail

-- 
Martin Dulisch
Open Source Group, S&N AG
[EMAIL PROTECTED]


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


---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster.

Reply via email to