So we have a document management system and I want all documents to be zipped before uploading. We are storing the document in a standard table Blob column. We first used Chilkat but that requires a temp folder so we switched to the appeon built in stream.
Question: - we also want all files downloaded from our system to be written as a zip files but I don't see the ability to create a zip file from Appeon.
Also, downloading the file and renaming the extension to .zip does not work because it's not a real zip file, just a compressed file.
Any help or suggestions always appreciated.
Thanks
Richard
In the mean time, other may jump into the discussion because they already tested.
Eureka! I suddenly remember my learnings =>
ZIP from blob to blob => This only compresses because there is no file system info related to the data. It is data-only.
ZIP from file/folder to file => Here I get the file and folder info included and hence a real ZIP file. I don't see easy way of avoiding files to do include file info in a ZIP file.
I vaguely remember saving data into a TEMP folder with sub-folder structure; then do ZIP in the TEMP structure; read the ZIP file, then delete all TEMP files as part of cleanup.