Erica,
You can use either file connection manager or variable. When you use
variable you have to set EvaluateAsExpression=TRUE property on the
variable and then setup your variable expression. For the connection
manager you have to setup the expression in the connection manager,
not in the Zip Task. My guess is that right now you are dynamically
modifying the target parameter to non-existent file connection
manager.
On Oct 20, 11:59 pm, "Erica M. Baity" <
ericalmil...@gmail.com> wrote:
> Ivan, does this file need to already exist? Here are my settings:
>
> IsTargetVariable = False
> Target = File Connection named Zip Target
> OverwriteExisting = True
>
> I have an expression set on the Zip Task which sets the Target name to the
> following: SUBSTRING( @[User::varFTPFileName],1,
> LEN(@[User::varFTPFileName])-3). This gives me a file with .log extension.
>
> I'm still getting an error saying the connection is not found. I can't use a
> variable because when the expression is evaluated it takes on a string
> value. Thanks for your help!
>