|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 3:30 PM
Points: 3,
Visits: 199
|
|
Greetings All,
I have an SSIS package that generates a text file, then uploads the text file to a SFTP site for processing using WinSCP. The packages needs to be able to download the file from the SFTP site after processing has been completed. The file processing can take 10 minutes or up to 10 hours.
I configured a for loop container with an execute process task to download the file. I would like to set up for loop to continue looping until the execute process task in the container is successful.
I have tried various way to accomplish this and none of them produced the results I need.
My process needs to do the same thing as described in the question in this post.
http://go4answers.webhost4life.com/Example/loop-execute-process-until-successful-77548.aspx
I tried all the solutions on that page and none of them worked.
Any assistance with this would be greatly appreciated.
Thanks for looking.
Edit: I am also open to other ways within SSIS to accomplish this -e.g. script task. I am not able to install any custom components in SSIS. I know there are several out there that may do what I need.
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: 2 days ago @ 1:49 AM
Points: 3,123,
Visits: 4,310
|
|
Is the process executed by means of a SQL Agent job? if so, have you considered letting the SSIS fail, but set the job step to retry x times every y minutes?
____________________________________________ Space, the final frontier? not any more... All limits henceforth are self-imposed. “libera tute vulgaris ex”
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 3:30 PM
Points: 3,
Visits: 199
|
|
This package is not run via the SQL Server agent job and I have other parts of the package processing while this piece is running.
Thanks for the advice.
|
|
|
|