The SSIS FTP Task is used to perform different kinds of operations on Files and Folders (or Directories). In this article we will show you the steps involved in configuring the SSIS FTP task send files with example.
Following screenshot shows you the data inside the local folder. Our task is to Copy Remove Double Quotes in Excel Sheet using SSIS 1.jpg file present inside the File System Folder to FTP Server’s Root directory.
Below screenshot shows you the data inside the FTP Server.
SSIS FTP Task Send Files
In order to send files from local computer to FTP Server, First Drag and drop the FTP Task into the Control Flow region and rename it as SSIS FTP Task Send Files
Double click on it will open the FTP Task Editor to configure it. Please change the task name according to your requirements and provide the valid description.
Within the Connection section, We have one property called FTPConnection. By clicking on the drop down arrow will show you the already created FTP Connections (If any) or please click on the <New Connection..> option to create one. In this example, We are using the already created Connection. Please refer SSIS FTP Connection Manager article to understand the connection settings
Please click on the File Transfer tab to configure the FTP operations. Following screenshot will show you the available properties in this tab.
The FTP task in SSIS supports eight different operation on Files and Folders. In this example we want to send file to FTP Server so, We are selecting the Send Files option from the Operations property
For the time being we are declaring the Local path manually but in real-time, we recommend variables. If we set the IsLocalPathVariable to False, we have to configure the Source Connection using LocalPath Property. If you already created the File Connection Manager you can simply select it from the drop down list otherwise, You have to create by selecting <New Connection..>. as shown in below screenshot.
Once you selected the <New Connection..> for files and folders, File Connection Manager Editor will be opened in new window. Using this editor we have to configure the connection with files and folders.
From the below screenshot you can observe that, we are selecting the Remove Double Quotes in Excel Sheet using SSIS 1.jpg file present inside the File System Folder
Once you selected the required file, Click on the OK button.
For the time being we are declaring the Remote path manually but in real-time, we recommend using variables. Please click on the browse (…) button besides this option to open the remote directory.
Currently we don’t have any sub folders in our FTP Server so, we are selecting the root directory / as the location. Next we are setting the OverwriteDetination property to true. It means SSIS FTP Task will overwrite the existing files (if any) in the FTP Server.
Click Ok to finish configuring the SSIS FTP task send files package. Let’s run and see whether we successfully Copied the JPEG file from the local File System to FTP Server or Not.
Well, We successfully Copied the Remove Double Quotes in Excel Sheet using SSIS 1.jpg file present inside the File System Folder to FTP Server’s Root directory..
Thank You for Visiting Our Blog.