title: How to write a webscript in Alfresco that returns a zip file
body: <p>I need to write a webscript in alfresco that returns to the user a single zip file that contains several files, some of them created on the fly by the script and some of them stored on the server.</p>
  
  <p>How can i do it?I know how to create different files on the server, i don't know how to zip them and how to include files that are stored on the server.</p>