File Checksum Task

No votes yet
Script File: 

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

PASS Summit '10

November 8 - 11, 2010 Washington State Convention & Trade Center in Seattle, WA

CozyRoc will be exhibiting at the Premier Conference for SQL SERVER Professionals. Visit CozyRoc at booth #425 and say HI. Register with code CR3D and get $100 off.

CozyRoc SSIS+ has been nominated for the 2010 SQL Server Magazine Community Choice Awards, category "Best Business Intelligence & Reporting Product". Vote Now to help us win this prestigious award.