F5 Debug…

Building & Debugging the Technology!!!

SQL Server Integration Services (SSIS) – Part 22 – Receive File using FTP Task in SSIS Package

Posted by Karthikeyan Anbarasan on March 15, 2011


>

This is part 22 of the series of article on SSIS. In this article we are going to see how to receive file from FTP task in SSIS.

Introduction

In this article we are going to see on how to use a FTP task in SSIS package to receive a file. 
 
You can look into my series of article on SSIS at the url - http://f5debug.net/all-articles/

Steps:

In this article we are going to see on how to use a FTP task container in packaging. FTP task is mainly used to do a file transfer using FTP. SSIS provides the in built task container to do a FTP of a file. Let’s jump start to see the on how to use the task in real time. Here im going to show a small example on how to configure a FTP task and receive a file.
Follow steps 1 to 3 on my first article to open the BIDS project and select the right project to work on integration services project. Once the project is created, we will see on how to use FTP task container. Drag and drop the FTP task as shown in the below screen.
Now double click on the task to open the property window and set the properties as shown in the below screen.
The above image is for setting the FTP Connection, end user need to provide the correct connection settings and click on the Test Connection to confirm if the connection is valid. 
Now in the file transfer tab we need to set the property since in our example we are going to receive the file from FTP we need to set as below. Here input variable is used to get the path where we need to save the file.
Here once you have given valid credentials by running directly the package will do the necessary steps of receiving the files from FTP to the local folder.

Conclusion

So in this article we have seen on how to use the FTP task to receive a file from a site and save it in a local folder.

2 Responses to “SQL Server Integration Services (SSIS) – Part 22 – Receive File using FTP Task in SSIS Package”

  1. [...] following is an abridged version of creating a package containing a FTP Task.  Please refer to SQL Server Integration Services (SSIS) – Part 22 – Receive File using FTP Task in SSIS Package if you require further assistance with creating this [...]

  2. [...] following is an abridged version of creating a package containing a FTP Task. Please refer to SQL Server Integration Services (SSIS) – Part 22 – Receive File using FTP Task in SSIS Package if you require further assistance with creating this [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s