Looking for example of UploadContentServlet

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 12:32 AM
Hi,
Can anyone provide an example of UploadContentServlet.
Currently, I created a zip file(containing no. of files in subdirectories) and uploaded it using Repository Web Service
But it doesnot get exploded (as it happens when we import/upload a zip via Web UI).
Is there any way to instruct Alfresco to extract content from the uploaded zip file?
Another concern is there should not be any limitation of content size to be uploaded.
Can anyone provide an example of UploadContentServlet.
Currently, I created a zip file(containing no. of files in subdirectories) and uploaded it using Repository Web Service
…. some code….. CML cml = new CML(); cml.setCreate(new CMLCreate[]{create}); UpdateResult[] results = WebServiceFactory.getRepositoryService().update(cml);
But it doesnot get exploded (as it happens when we import/upload a zip via Web UI).
Is there any way to instruct Alfresco to extract content from the uploaded zip file?
Another concern is there should not be any limitation of content size to be uploaded.
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 04:23 AM
Hi,
example can be found in alfresco source. Take a look at svn, web-client project, org.alfresco.web.app.servlet.UploadContentServlet
Kind regards,
Denis
example can be found in alfresco source. Take a look at svn, web-client project, org.alfresco.web.app.servlet.UploadContentServlet
Kind regards,
Denis

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2008 06:24 AM
Dear dhalupa,
Thanks a lot for your time to respond.
But I am looking for some working example not the source code for the servlet.
Thanks a lot for your time to respond.
But I am looking for some working example not the source code for the servlet.
