Within my SSIS Package I have a Foreach Loop Container which gets my variable @ClientFileName. Got this message...
Information: 0x0 at TF Secure FTP Task - Download Files from Client, ExecuteDownload: Downloading file FHCA_DPA_20150806.txt
My next task is to actually then download the file that was determined from my Foreach Loop Container and I got this message...
Error: 0x0 at TF Secure FTP Task - Download Files from Client, ExecuteTask Failed:: File not found : /FHCA_DPA_20150806.txt (code=2)
I have NO IDEA why...but it looks as though it is appending a "/" at the beginning of the file name.
So I decided to put in an Expression task to try and parse out that leading "/". And this is the syntax I have...
@[User::ClientFileName] = FINDSTRING(@[User::ClientFileName],"/",1) != 0 ? SUBSTRING(@[User::ClientFileName],2,LEN(@[User::ClientFileName])) : @[User::ClientFileName]
It is still failing me with message...
Error: 0x0 at TF Secure FTP Task - Download Files from Client, ExecuteTask Failed:: File not found : /FHCA_DPA_20150806.txt (code=2)
Can ANYONE help me out with this? Point me in the right direction...maybe shed some light as to your Knowledgebase as to why this might even be happening in the first place...
Thanks for your review and am hopeful for a solution.