Groups | Blog | Home
all groups > sql server dts > april 2005 >

sql server dts : DTS Package Load schedule issue


Tom
4/7/2005 10:56:03 AM
We have a DTS package that loads 46 text files from an FTP
server into the database on a database server at 6:00 AM.
every morning. The files are sent to FTP server at a
various times. Even though the DTS Package is scheduled to
run at 6:00 AM, is there a way of loading the data into
the database as soon as the files are received on the FTP
server ?.

Something like trigger or script or a process that
constantly checks if the files are there and when it sees
the files, it starts to execute the DTS package to load
the database.

Tom
4/7/2005 12:06:26 PM
Thanks........The bad news is that we don't use .NET (I
don't know why - I am not a decision maker). especially on
a production server. Is there any other solution ?

Thanks.




[quoted text, click to view]
Allan Mitchell
4/7/2005 6:32:33 PM
How about, and I do this, watch for the files using a service that
incorporates the FileSystemWatcher class in .Net.

This watches for files and then fires the packages.

Allan

[quoted text, click to view]
Allan Mitchell
4/7/2005 7:26:52 PM
Some job schedulers have it.
WMI has it.


[quoted text, click to view]
Simon Worth
4/12/2005 11:46:19 AM
We do something similar where we fire off a job every hour to check the
existence of files on a network share, then if any are there, it
executes a dts package to load them and archive them.

Simon Worth

[quoted text, click to view]
AddThis Social Bookmark Button