In my DTS package, I have a step that zips a file in a certain directory and another step that places the zipped file on the ftp. The 2nd step occurs upon completion of the 1st step. When I run the package, it runs fine. However, when I download the file from the ftp site and try to unzip it, I get an error message that not all the records were successfully zipped. But, when I go back to the original zipped file that was saved to the directory (before upload to ftp), this file opens up fine and doesn't produce an error. My theory is that, because the DTS steps execute so quickly upon receiving a "completion" signal, that this is causing the DTS package to place the file on the ftp site before the file is truly done zipping.
I'd like to test out this theory by purposely creating a 30-second delay from the time the zip step is completed to the time the ftp step is initiated. Would anyone have any thoughts on how I could possibly do this? Thanks!
I'd like to test out this theory by purposely creating a 30-second delay from the time the zip step is completed to the time the ftp step is initiated. Would anyone have any thoughts on how I could possibly do this? Thanks!