How to use Zip Extension

How to use Zip Extension

  

Hi,

     I want to download zip file. In database multiple files are present. I want to create a zip file of all that files and then that zip file must get downloaded. I know, for this purpose,we have to use zip extension,but I don't know the exact sequence.Please suggest me how to use zip extension.


Thanks and Regards,

Amit Joshi

Solution

Hi Amit,

The sequence should be:

CreateZip()

Loop Documents

    AddFile(CreateZip.ZipHandle,...)

End Loop

CommitChanges(CreateZip.ZipHandle)

GetZipBinary(CreateZip.ZipHandle)

<DownloadWidget> - Using the Output from GetZipBinary
Solution

Hi Helder,

     Thank you very much.Now it's working fine.