Unable to use "taskunzip" inside "Foreach Loop Container"

Oct 27, 2011 at 2:01 PM

Hi

   "taskunzip" works perfect for single file, but when I try to use this inside "Foreach Loop Container" it simply does not work. 

    Any pointers here highly appreciated.

 

- Variable in the expression is set for FileZip property

-Set the FileSpec to *.zip

Thanks

Coordinator
Dec 11, 2011 at 2:06 PM

hi

i upgrade the library with a new sample with a foreach loop container (download: SSIS_TaskUnZip_1.3.0.1_Sample.zip).
The "problem" is the regex for file name. Plese note the variables used in taskunzip (@[User::fileToProcess] + "$").
FileZip: @[User::fileToProcess] + ".zip"RegExFileFilter: @[User::fileToProcess] + "$"


ciao
p

Jul 8, 2015 at 9:04 AM
Hi,
this solution works perfect when the operation is "compress" the files but what to do if i need to decompress files using the ForEach Loop Container.

Thanks
Coordinator
Jul 9, 2015 at 6:18 PM
Hi danilok

no, is not possible make a "loop for each" on compress file, because do not exists a Task that permit this (well... I do not know if exists...).

ciao
p