1. The files go where you tell them to ;). Look at the Domain.xml file
(in TOMCAT_HOME/slide, if you're using the binary download). The content
store has two configuration properties that determine where the files
are uploaded. They'll probably be in TOMCAT_HOME/bin/store, if you're
using the default.
2. You need to specifiy the name of the file *as you want it created on
the server*.
putMethod("http://localhost:8080/slide/files/SlideTest.txt", f) or
whatever.
-James
>>> [EMAIL PROTECTED] 07/27/04 2:46 PM >>>
Hello,
I was able to view the source code of the put() in Client.java
code, and I made some progress with my test file.
I now have the following questions... 8-)
1, does the file go into /temp/files directory? I have modified
the web.xml to allow only /files to be seen. If it doesn't go
to the /temp/files directory, where does it go?
2, if I use the putMethod(String, File) and the documentation
says it's the relative path to put the given File and I have
putMethod("http://localhost:8080/slide/files", f) debug message
says successful, but I can't find the file anywhere on my
system. (Except the original file in its original location)
then I tried to do putMethod("/slide/", f) and got forbidden
as my getStatusMessage return. (403) What is the exact syntax
for my relative path?
Thanks again for your helps.
-- Jimmy
---------------------------------------------------------------------
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]