![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB Binaries » View Thread |
Messages 1 to 1 of 1 total |
![]() |
Fri, May 16 2014 6:42 AM | Permanent Link |
Uli Becker | This is a sample how to zip/unzip a number of Update files in a store.
If you decide to use it, you might want to add some exception handlers and/or change the code regarding deletion of files after compressing them. Note: You need the (free for personal use) ZipForge component: http://www.componentace.com/zip_component_zip_delphi_zipforge.htm The DLL uses two routine names: Admin_ZipUpdateFiles Admin_UnzipUpdateFiles One parameter is necessary: it's the full path of the store's directory. When calling the stored procedure, you can use this code to get the path: DECLARE FStorePath VARCHAR; Execute Immediate 'select Path INTO ? from configuration.stores where name = ''My_Local_In_Store''' using FStorePath; CALL Admin_ZipUpdateFiles(FStorePath) or CALL Admin_UnzipUpdateFiles(FStorePath) Uli Attachments: Zip UpdateFiles.zip |
This web page was last updated on Monday, July 15, 2024 at 07:03 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |