Files uploading is automatically processed in org.opencms.workplace.CmsWorkplace.You should extend from CmsWorkplace to process the upload files.<div><br><br><div class="gmail_quote">2012/2/5 Marko Riedel <span dir="ltr"><<a href="mailto:markoriedelde@yahoo.de">markoriedelde@yahoo.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello there,<br>
<br>
I would like to add multipart uploads to an OpenCMS<br>
website that I maintain. I found the following code on the internet, but<br>
 it does not work:<br>
<%<br>
com.opencms.file.CmsObject cms =<br>
((com.opencms.flex.cache.CmsFlexRequest)request).getCmsObject();<br>
Enumeration files = cms.getRequestContext().getRequest().getFileNames();<br>
while(files.hasMoreElements()) { String filename = (String)files.nextElement(); byte[] filecontent =<br>
cms.getRequestContext().getRequest().getFile(filename); // do somthing with filename / filecontents here ...<br>
}<br>
%><br>
<br>
Also, I could not figure out how to create a CmsRequestHttpServlet.<br>
<br>
Thanks!<br>
<br>
Marko Riedel<br>
<br>
 <br>
+---------------------------------------------------+<br>
| Marko Riedel, <a href="mailto:markoriedelde@yahoo.de">markoriedelde@yahoo.de</a>              |<br>
| <a href="http://www.mathematik.uni-stuttgart.de/~riedelmo/" target="_blank">http://www.mathematik.uni-stuttgart.de/~riedelmo/</a> |<br>
+---------------------------------------------------+<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
</blockquote></div><br></div>