Ssis Delete Files Older Than 30 Days
Hi, I'm having an issue with trying to figure out how to delete files in a folder location older than a certain number of days in this case lets say 10. I have looked far and wide online and most of the 'solutions' that I find are hard to understand and do not give a complete picture of how to do it, they give about 80% and leave the 20% that are needed to make the solution work. If anyone can point me in the right direction of where to find a 'complete' and working solution, either online or through the forums it would much appreciated. Thanks in advance. You can't post new topics. You can't post topic replies.
You can't post new polls. You can't post replies to polls. You can't edit your own topics. You can't delete your own topics. You can't edit other topics. You can't delete other topics. You can't edit your own posts.
Apr 04, 2013 SSIS Delete files older than 3 days from. SQL Server Integration Services 30 PM 4/4/2013 4:14:14 AM All. Rocket Downloader here.
You can't edit other posts. You can't delete your own posts. You can't delete other posts. You can't post events. You can't edit your own events.
You can't edit other events. You can't delete your own events. You can't delete other events. You can't send private messages. You can't send emails. You can read topics. You can't vote in polls.
You can't upload attachments. You can download attachments.
You can't post HTML code. You can't edit HTML code. You can't post IFCode. You can't post JavaScript. You can post emoticons. You can't post or upload images.
In my SSIS project I have foreach loop container which moves files from a source folder to archive folder using simple logic to 'sort' the files to the correct folders (month and year) But before I move any files I have to check the last modified date and move them only if they are older than 2 weeks. So I guess I need some script task before executing the sequence container for moving files and do this check. I made use of System.IO.FileInfo and LastWriteTime but any examples will be of big help. Using: SQL Server 2012 / SQL Server Data tools Set 2010 Any help and suggestions are appreciated!:) Thanks guys.