DTS Package to check the modified date of remote text file

  • Hi Friends,

    Here is my situation, I need to update the existing DTS Package to check the modified date of dynamically generate text file. If the file modified date is different when compare to system date then i need to send the mail.

    Please let me know how to check the modified date of text file which is residing in another server within the network through DTS.

    Thanks

  • Use an ActiveX Script Task to check the DateLastModified of the file. If it meets your criteria use the Send Mail Task to send your message.

    Couple of links to get you started:

    Working with the FileSystemObject. Look for the File Date & Time section.

    Quick sample for some of the file object's date related properties.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply