|
Hi
I have written a Servlet that handles file uploads to Slide using Apache Commons FileUpload, but when it tries to create the new WebdavResource, and PUT it, I get the following error… and when I look a the store, it seems to have created a folder called errmsg.txt/ instead of a text file. I have attached the Servlet file to this email (I know the FileUpload module file handling is not optimised, but its just a test at the mo).
Incidentally, every time I restart Tomcat, it wipes the store including any folders I have created ‘properly’ (!) using Windows WebFolders… what could be causing that, and how can I sort it?
Cheers stu
13 Aug 2003 12:41:47 - org.apache.slide.webdav.WebdavServlet - INFO - GET = 200 OK (time: 10 ms) URI = /files Filename = G:\mysql\share\slovak\errmsg.txt Content Type = text/plain In Memory? = false Size in bytes = 13329 The HttpURL is... http://localhost:8080/slide/files/errmsg.txt 13 Aug 2003 12:42:05 - org.apache.slide.webdav.WebdavServlet - INFO - PROPFIND = 207 Multi-Status (time: 60 ms) URI = /files/errmsg.txt 13 Aug 2003 12:42:05 - org.apache.slide.webdav.WebdavServlet - INFO - PUT = 409 Conflict (time: 0 ms) URI = /files/errmsg.txt THE DESTINATION PATH = /files The URI is... /files/errmsg.txt |
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
