File Transfer Task. Remote Filter issue

171 views
Skip to first unread message

eric.r...@gmail.com

unread,
May 29, 2018, 5:58:00 PM5/29/18
to COZYROC
Hello,

When using File Transfer Task to receive files, I want to set the Remote Filter to receive files whose name contains current date, e.g. PaidChargebacks_2018_05_29.csv

Created a variable calcDate with value "_2018_05_29.csv"

Created another variable called RemoteFilter with expression "Name.StartsWith( \"PaidChargebacks" +  @[User::calcDate] + "\")"
that evaluates to:  Name.StartsWith( "PaidChargebacks_2018_5_29.csv")

I used this in the RemoteFilter as shown in the attached pic and it fails on the syntax

Thanks




Ivan Peev

unread,
May 29, 2018, 6:02:14 PM5/29/18
to COZYROC
H Eric,

 The filter should not contain any reference to SSIS variables. You have to construct SSIS expression which creates the text definition of the Filter.

eric.r...@gmail.com

unread,
May 30, 2018, 10:47:07 AM5/30/18
to COZYROC
Hi Ivan,

Sorry, not sure what you mean. Can you please elaborate?

Ivan Peev

unread,
May 30, 2018, 10:49:04 AM5/30/18
to COZYROC
Eric,

Do not configure Filter parameter which references SSIS variable. Construct and SSIS expression which builds the text for the Filter parameter. 
Reply all
Reply to author
Forward
0 new messages