>>At the end of the process it deletes the file it FTP'd in and then the remote file on the web server.<<
Assuming that this only occurs if the previous step is successful, then all you have to do is change it to on Completion, rather then on Success.
If this is not it, post an image of your DTS package and indicate the FTP task if it is not clear.
Main Topics
Browse All Topics





by: BodestonePosted on 2009-08-07 at 12:33:21ID: 25046171
It looks like you have a job wich has many steps and the DTS is one step in the job.
One way would be to keep a permanant log table which is updated as part of the job.
it could hold logID, startTime, endTime, expectedFileName (if they are name[datetime].xls, status, lastStep
Initial step would create a new record indicating the the file name it was looking for. further steps could ad information and a step number. Each step could have a fail condition to go to the last step which is to delete the excel file, maybe based on the expectedFileName in the latest entry of the log file.
Therefore you get your own custom log of what went wrong and when.
It would generally involve adding in a lot more error catching of your own but once sorted can be pretty stable and allow you to define your own fail conditions for other parts of the job with RAISERROR