CreateZip()

Loop Documents

    AddFile(CreateZip.ZipHandle,...)

End Loop

CommitChanges(CreateZip.ZipHandle)

GetZipBinary(CreateZip.ZipHandle)

<DownloadWidget> - Using the Output from GetZipBinary

I have follow the above steps to create zip files. However, it failed if i add MP4 files to zip. 

Does it not support audio files for zip?

Hi Jessica,

If it fails can you share any error message or call stack?

You should be able to find them in the service center error log.

Regards,

Daniel

Zip OML is enclosed

The error in the service center is as below:

Hi Jessica,

What is the size of the MP4 you try to add?

The way you coded your solution I think all data is first read into memory, if your MP4 is really large this could be the reason why it is not working.

See also:

Regards,

Daniel

the attached file is around 70MB and cause the failure.

Does it limit to zip files under 70MB?

Hi,

I do not know tell you the limit in Mb, but 70Mb does not sound extremely large. For the zip to work it probably does not matter. The larger the more problem you might expect with memory usage. But maybe also with the OutSystems time out.

If you try a smaller size zip file your logic does work?

Regards,

Daniel

Hi Jessica,

Maybe you should try BigZip Forge component, maybe it works better for your use case.

Regards,

Daniel