TechBubbles Microsoft Technology BLOG

Using File System Task and FTP Task in SQL server SSIS

Tasks are fundamental units in SSIS control flow. Every task in SSIS needs to be configure with required fields. This post going to explain how to use FTP and File System task. You can use the File System to automate data load process.

Consider a scenario where you receive a file from source system via FTP and your package needs to be react by moving it to another working directory.

1. Create a new SSIS package using BIDS and drag the FTP task to the design pane.

image  

2. Double click the task to set the properties

image 

Type a name for the task and set the FTPConnection properties as shown above.

image

Go to File Transfer page and select the value for remoteVariable. Click Ok to exit the editor. After file being downloaded then you can copy to the local folder for achieving. To copy the file into an archive directory, we will use the File System task. Drag the task to designer and configure the properties.

image

In the control tab, connect the FTP file task to the File System task with a precedence constraint. The file will be FTPed first and then copied to the archived folder.

image

About the author

Kalyan Bandarupalli

My name is kalyan, I am a software architect and builds the applications using Microsoft .NET technologies. Here I am trying to share what I feel and what I think with whoever comes along wandering to Internet home of mine.I hope that this page and its contents will speak for me and that is the reason I am not going to say anything specially about my self here.

Add Comment

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud