Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If File Exists, run package?

Status
Not open for further replies.

Glowworm27

Programmer
May 30, 2003
587
US
I may be overthinking this one, so I am asking for some guru's to lend me some insight.

I am working on a SSIS package, and it will be scheduled to run daily. Problem is somedays it may not need to be run.

If a file exists on a certain folder, then we need to grab that file and process it. IF the file does not exist the package needs to exit gracelfully, and not crash out.

I was thinking about using the File System task but it doesnt do File Exist only copy, delete and move functions

I was also think to use a Script task and pass execution to one branch if the file exists, or send the execution to the end of the package and let it complete successfully

Any help please?

Thanks in advance
[cannon]

George Oakes
CEO & President
COPS Software, Inc.

Programmer & Developer
.Net, WSS 3.0, SQL DBA
Check out this awsome .Net Resource!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top