Discussion:
How to ckeck if a file exists ?
(too old to reply)
NicoN
2010-04-21 18:02:52 UTC
Permalink
I need to test whether a certain file exist on the harddisk or not.

As the first step of a SSIS the following steps should only be executed if a
file exists. Otherwise the package should end with success (Yes!).

Is this possible ?

Greetings
Nico
Russ Loski
2010-04-22 01:39:51 UTC
Permalink
I use a script task. I use the fileinfo class.

http://msdn.microsoft.com/en-us/library/system.io.fileinfo.exists.aspx
Post by NicoN
I need to test whether a certain file exist on the harddisk or not.
As the first step of a SSIS the following steps should only be executed if
a file exists. Otherwise the package should end with success (Yes!).
Is this possible ?
Greetings
Nico
Loading...