AnsweredAssumed Answered

Looking for example of UploadContentServlet

Question asked by singhr on Jul 24, 2008
Latest reply on Jul 28, 2008 by singhr
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
             …. 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.

Outcomes