Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 351547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:39:14+00:00 2026-05-12T11:39:14+00:00

In VB pseudocode, I’m trying to accomplish the following using SSIS (either 2008 or

  • 0

In VB pseudocode, I’m trying to accomplish the following using SSIS (either 2008 or 2005)

If FileHasAlreadyBeenDownloaded = False Then
    DownloadTheFileFromFTP
End If
ImportTheDownloadedFile

To do this in SSIS I have a script task to check for the file, and if it exists it transfers directly to the DataFlow Task using conditional expressions. If the file doesn’t exist, it transfers to the FTP Task, and the FTP Task transfers to the DataFlow Task.

It seems, though, that I can’t have two tasks lead into one common shared task, because no matter which path the code takes it won’t execute the DataFlow Task. If I make a copy of the DataFlow task and have each path go to its own Task, then all works perfectly.

Is this a documented thing with SSMS that I just haven’t found? I looked through 31 pages of questions on SSMS before posting, so hopefully this isn’t a stupid question.

I also tried using Expressions on the FTP task to set “Disabled=@FileAlreadyDownloaded=True” but that works only in SSMS 2008 and didn’t seem to work in SSMS 2005.

Thanks so much for any pointers on this!

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T11:39:14+00:00Added an answer on May 12, 2026 at 11:39 am

    It might be worth trying putting the script task and the FTP task inside a container task, and link the the container to the data flow task on success.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried the following (pseudocode) but I always get a deadlock when Iam trying
I'm trying to zip files using the command-line utility through NSTask. pseudocode: controller: init:
Do you have pseudocode for field validation of the following items in the UK?
I want something similar to the following pseudocode: myGridView.SelectedIndex = myGridView.DataKeys.IndexOf(mySpecificKey); I've done some
I'm just trying to time a piece of code. The pseudocode looks like: start
The following pseudocode works, which is probably no surprise to anyone who's done any
Here are two ways of calling callscript (in pseudocode): using duplicate calls if flag
The following is pseudocode: myGoto: try { // do some db updating myDB.doOptimisticConcurrency(); }
Please give me pseudocode for finding cycles using BFS. I know other questions of
Please give me pseudocode for finding cycles using BFS. I know other questions of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.