I want to zip a set of files in a folder, however not all the files. I have the list of files captured in both a String Array and a Datatable. Does anyone know if its possible to utilise either of these data sources to indicate which files are to be included in the ZIP file.
You can custom-create a folder for the purpose of zipping and you can iterate through the array that you have. In the loop, move each file to the above-specified folder & compress the folder altogether. Thus you have a compressed folder with the specified files now.