hello,
i'm testing slide with more than one namespace.
The IE Webfolder works fine. I have 2 Webfolders with
different stores.

If i use the WebDavClient API to upload a file, the file is uploaded to
the default slide namespace.

Here is the code example:
         // BaseURL + Namespace
         HttpURL httpURL = new HttpURL(stringUrl + "/" + namespace);
         httpURL.setUserInfo(stringUser,stringPwd);
         WebdavResource wr = new WebdavResource(httpURL);
         File f = new File(src);
         System.out.println("put: " + src + " to " +  stringUrl + "/" + namespace +
path);
         wr.putMethod(path,f);

the output from code is:
put: test.txt to http://192.168.0.11:8081/cb/files/test/test.txt
                                           ^
but an entry occurs in the slide_ns_slide logfile:
192.168.0.11 - root [11/Sep/2002:23:37:47 00] "PUT
/files/test/test.txt HTTP/1.1" 204

and the file is uploaded to the slide namespace.

Whats wrong here?

best regards and thanx in advance,
christian


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

Reply via email to