dbTalk Databases Forums  

How to create job - step1 ftp/decrypt files - step2 run SSIS packg

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss How to create job - step1 ftp/decrypt files - step2 run SSIS packg in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
thabrown
 
Posts: n/a

Default How to create job - step1 ftp/decrypt files - step2 run SSIS packg - 06-14-2006 , 08:19 AM






Hello,
I have created an SSIS package that loads databases from XML files located
in a certain directory. Prior to that I have bat file that ftps, decrypts,
and copies the XML files to that directory that the SSIS package reads from.
I had originally included an ftp task in the package; but abandoned it as I
needed to include PGP command line processing to decrypt the files -- which
is why I made a bat file to do so.

Can anyone advise either (1) how to incorporate the ftp and PGP command line
decrytpion in the SSIS package; or (2) how to create a job run by the SQL
server agent that includes the bat commands as its first step? (I have
successfully created a job that has a SSIS package step). For the (2)
option, I tried creating a CmdExec job step but was not sure how. In the Job
step properties window, I selected Operating system (CmdExec) for "Type"; SQL
Agenet Service Account for "Run as"; and for "Command" when I open my bat
file, it copies in its commands:
ECHO OFF
ftp -i -s:ftpgetfile.txt
pgp --decrypt *.pgp --passphrase *********
move *.xml E:\DailyFeedsourcefiles

Any advice is much appreciated.
Thank you,

Thomas

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.