File Checksum Task

Your rating: None Average: 2 (1 vote)

Overview

Script task to create checksum for file. The result is stored in package variable. The task has the following parameters:

  • IsFileVariable – if true, input file name is contained in package variable. Otherwise it is file connection manager (Boolean).
  • FileVariable – input file variable (String).
  • File – input file connection manager (Connection).
  • Algorithm – file checksum algorithm. The choice is between MD5 and SHA1.
  • ResultVariable – checksum result variable (String).

Requirements

Depends on CozyRoc Script Task Plus component for implementing parameters user interface.

Library references

  • System
  • System.Data
  • Microsoft.SqlServer.ScriptTask
  • Microsoft.SqlServer.ManagedDTS
  • CozyRoc.SSISPlus

ScriptMain