Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
SQL Server Integration Services (SSIS) – Delete local folder using FTP Task in SSIS Package
WhatsApp
Karthikeyan Anbarasan
13y
6.4k
0
0
100
Article
Introduction
In this article we are going to see how to use a FTP task in SSIS package to delete a local folder using FTP Task in SSIS packaging.
To follow my series of articles on SSIS packages refer to my profile for the links!!!
Steps:
Follow steps 1 to 3 in my first article to open the BIDS project and select the right project to work on the integration services project. Once the project is created, we will see how to use FTP task container. Drag and drop the FTP task as shown in the screen below.
Now double-click on the task to open the property window and set the properties as shown in the screen below.
The above image is for setting the FTP Connection; the end user needs to provide the correct connection settings and can click on Test Connection to confirm that the connection is valid.
Now in the file transfer tab we need to set the property since in our example we are going to delete a folder in the local box we need to set as below. Here an input variable is used to get the path for deleting the folders locally.
Here once you have given valid credentials by running directly, the package will delete the folder in the local box using the FTP Task.
Conclusion
So in this article we have seen how to delete a folder in the local machine.
BIDS
Delete local folder
Delete local folder using FTP Task in SSIS Package
folder using FTP Task in SSIS Package
local folder using FTP Task in SSIS Package
SQL Server Integration Services
SSIS
Up Next
Ebook Download
View all
Functions in SQL Server: Practical Guide
Read by 9k people
Download Now!
Learn
View all
Membership not found