This project is read-only.
1

Resolved

Unzip in Loop not working

description

Hello,

I'm trying to use TaskUsing in a ForEach Loop for decompressing multiple zip file.
The destination and source folder are set from a static variable and the filename are from a variable too but set from the loop container which enumerate the zip file in source directory.

My package runs succesfully but my files are not extracted, can you help me ?


Besides this problem, it's seems that the sentence "-- Decompress -- process file : ... " in the progress tab is using destination direction instead of source directory.

Below screenshots for illustration

Image

Image

file attachments

comments

Nico_FR75 wrote Dec 30, 2015 at 11:40 AM

I found for the error for the problem with the sentence in the progress tab.
The problem is in TaskUnZip.cs.

Actually :
Image

Sould become :
Image

Nico_FR75 wrote Dec 30, 2015 at 12:00 PM

Ok, i found the solution to my problem.
My regex wasn't matching the file in the zip.

It would be cool to add an information line when file doesn't match regex.

Here's my suggestion for TaskUnZip.cs :
Image

goldfix wrote Dec 30, 2015 at 4:14 PM

Hi Nico

I think is a good solution! Thanks.

please send me patches and (if possible) your test case. Next days I merge and fix master release.

ciao
p

wrote Dec 30, 2015 at 4:15 PM

wrote Dec 30, 2015 at 5:23 PM

Nico_FR75 wrote Dec 30, 2015 at 5:23 PM

Here's the updated project. The modifications are a little bit different from my previous posts (see the comments in TaskUnZip files).

Updates :
  • SQL 2008 = I could only update the message for filepath in progress tab. The regex test is done in SharpLib's dll.
  • SQL 2012 = Updated message for filepath and for regex
  • SQL 2014 = Updated message for filepath and for regex

Nico_FR75 wrote Dec 30, 2015 at 5:26 PM

wrote Jan 1, 2016 at 2:16 PM

wrote Jan 1, 2016 at 3:58 PM

wrote Jan 1, 2016 at 4:30 PM

Resolved with changeset 116049: fix issue: https://taskunzip.codeplex.com/workitem/22127

goldfix wrote Jan 1, 2016 at 4:55 PM

** Closed by goldfix 1/1/2016 8:30 AM

wrote Jan 1, 2016 at 4:55 PM

wrote Jan 1, 2016 at 4:55 PM

wrote Jan 2, 2016 at 12:57 PM

Associated with changeset 116054: update ver. SSIS 2012

wrote Dec 7 at 3:54 AM