views:

36

answers:

1

Hi,

I have a FTP task in my SSIS package which deletes files from FTP location. But the issue is that if the file(s) or directory is not available on the server, the task gets failed.

Is there any way that I can fix this issue?

Thanks

looking forward for urgent reply.

A: 

That is the expected behavior. The task should fail and then you should do something detecting the failure. This logic can be executed on the task failure event or by drawing the red arrow to some error handling logic from the FTP task.

Faiz
I am now using the blue arrow to move to next task, by doing so even if the task fails, it moves to next task, but now the issue, is if the task fails due to some other reason i.e. of not finding the specified file/folder, the task will still move on. Any way I can come to know that what was the cause of failure.
kaibuki
You can write a script for the event handler to examine the error and take corrective measures accordingly, I guess...
Faiz