Zip Task variable iteration

272 views
Skip to first unread message

Ivan Peev

unread,
Apr 30, 2008, 8:13:31 PM4/30/08
to CozyRoc
This post is related to:
http://groups.google.com/group/cozyroc/t/951ebff13a07a8d7

To anyone with a similar issue, we have created a sample SSIS package
with variable iteration implementation. It includes the following
elements:

1. For Loop Counter container, iterating counter variable from 1..3
2. ZipFile variable, where EvaluateAsExpression=TRUE, and it has the
following expression: "C:\\alabala" + (DT_WSTR, 10)@[User::counter] +
".zip"

After you run the package, it creates 3 archives in the root C drive
folder:

alabala1.zip
alabala2.zip
alabala3.zip

Grab the sample package from here: http://www.cozyroc.com/sites/default/files/down/TestZip.zip
Reply all
Reply to author
Forward
0 new messages