I want to create a zip from an input dir. How?
BlitzMax Forums/BlitzMax Programming/I want to create a zip from an input dir. How?
| ||
Whether it's using a module or a way to run a batch command isn't important, but I need to be able to specify things like encryption and only adding files newer than some date. |
| ||
There is a module (gman.zipengine) that allow to create and read .zip files. You can also specify a password for it. [http://www.blitzbasic.com/Community/posts.php?topic=82005] in that thread your should find the forum/website to download the module. Adding/removing files based on date check, is another history: you need to handle it using FileTime. |
| ||
Here's a direct link to GMan's forum: http://www.gprogs.com/viewforum.php?id=8 |
| ||
I used this plugin and it works fine |
| ||
I also recommend the gman.zipengine extension. I've used it in a few projects and it's very helpful. Creating a zip goes something like this: |