The SSIS FTP Task is used to perform different kind of operations on Files and Folders (or Directories). In this article we will show you the steps involved in configuring the SSIS FTP task create remote directory with example.
NOTE: The SSIS FTP Task uses the FTP Connection Manger to connect with the Remote (FTP Server) Files and Folders.
Below screenshot shows you the data inside the FTP Server. Our task is to Create new folder or directory inside the FTP Server Root directory.
SSIS FTP Task Create Remote Directory
In order to create directory or folder in our FTP Server, First Drag and drop the FTP Task into the Control Flow region and rename it as SSIS FTP Task Create Remote Directory as shown below
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 propertie 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 SSIS FTP task supports eight different operation on Files and Folders. In this example we want to create new folder inside the FTP Server so, We are selecting the Create Remote Directory option from the Operations property
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.
From the below screenshot you can observe the / as the location because it is the root directory of FTP server and currently we don’t have any sub folders. Here, we are creating the folder called New_FTP_Folder. Click OK button to select it.
Click OK to finish configuring the SSIS FTP task create remote directory package.
Let’s run and see whether we successfully Created the new folder in our FTP Server or not.
Well, We successfully created new folder inside out local FTP server
Thank You for Visiting Our Blog.