SSIS - Getting the detailed error message from a FTP Task

Greetings all,
I'm working on a SSIS package that pulls a file down from an FTP server, then has its way with it.
Under expected conditions, everything is working perfectly. However, I never want to download the same file twice. In order to enforce this, I just set the OverWriteFileAtDest option to false. Obviously, if the file has already been brought over, the package
fails. This is the intended functionality.
However, in such a case I want to handle the error separately. Now, when I setup a EventHandler to deal with it, the error message that's passed over is:
"Error: An error occurred in the requested FTP operation"
Oh joy. Ambiguity at its finest. However, the detailed description is:
"Receiving file "/server/folder/file.XLS". File "\\server\folder\file.XLS" already exists.
Try as I might, I can't seem to capture the detailed error message so that I can act on it. I'm looking for a way to capture this info, pass it to an expression, and then handle it from there.
Thanks!

Did you try enabling logging for the package and capturing it in SQL table which case you should get error messages in sysssislog table
http://msdn.microsoft.com/en-IN/library/ms186984(v=sql.110).aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

Maybe you are looking for

  • [SOLVED] problem with spaces and ls command in bash script

    I am going mad with a bash script I am trying to finish. The ls command is driving me mad with spaces in path names. This is the portion of my script that is giving me trouble: HOMEDIR="/home/panos/Web Site" for file in $(find "$HOMEDIR" -type f) do

  • Trying to restore after crash and rebuild but Time Machine isn't seeing my NAS drive.

    My MacBook Pro had it's first crash in 6 years or daily use and abuse. Came home from work and had the "You need to restart your mac, hold down the power button" screen in 10 languages. After a heart attack, a visit the the neighborhood bar for a cou

  • BIg Start-Up Problems Macbook

    I had some sound problems with Quicktime earlier today so I decided to reinstall it. For reinstalling my MacBook needed to restart, but now it keeps restarting. It goes on and then it looks like its starting up but it doesn't go any further than the

  • Defing Website with Xammp

    Hi all, I have a simple question, well hopefully. I installed xamp to preview files locally. i have 5 websites my problem is if website 1 is defined as C:\Program Files\xampp\htdocs\website1\ then it wont preview correctly however if i define it as C

  • 12570

    Hi All I'm getting this below error once in a while, can anyone help me on this...  Thanks in advance. Oracle.ManagedDataAccess.Client.OracleException: ORA-12570: Network Session: Unexpected packet read error ---> OracleInternal.Network.NetworkExcept