SqlShare.com Logo
 
Skip Navigation Links
Home
Video List
Events
Classes
About Us
Login / Register
Subscribe RSS Feed 

Confio Ignite

Using the File System Task in SSIS

This video by MVP Brian Knight shows you how to use a File System Task in SSIS to rename, move or delete a file. If you have been using DTS, this task replaces most of the code you would have commonly placed in an Activex scripting task.

Duration:
4 mins 6 secs
Skill Level:
100
Rating:
4.27 out of 5
Publish Date:
December 01, 2008
Using the File System Task in SSIS You must be logged in to view this video.  
Bookmark and Share
 
1=Poor, 3=Good, 5=Excellent

About the Author

Image of Brian Knight
Owner of Pragmatic Works :: Brian Knight, SQL Server MVP, MCSE, MCDBA, is the co-founder of Jumpstart TV and SQLServerCentral.com. Brian has written and co-written 9 technical books. Brian has spoken at conferences like PASS, TechEd and Connections. Brian develops solutions with Pragmatic Works to migrate DTS packages to SSIS.

References

There are no downloads or recommended reading links for this video

Comments
Jason Nupen on 12/10/2008
It moved pretty quick which wasn't too bad but if possible I'd like to see more on the use of a Variable to rename the file so we can add a '200812' type designation.

Pru on 12/26/2008
Variables -- As noted from a previous viewer -- use of variable to append date/time to filename would be a useful addition to the training video.

Venkata Taduri on 2/10/2009
Pretty concentrated one.. thank you..

Michael Wells on 2/10/2009
Gave me exactly the answer that I needed without taking a lot of time.

Richard Dugovic on 2/17/2009
It was very enlightening to see the File System task being performed, and that it has all the important capabilities ... but I must say that the presenter operates pretty quickly, so I may want to see it again some time ... perhaps after playing with it a bit.

kalakotireddy on 2/18/2009
It was fast but good job

Mark Pratt on 3/29/2009
I needed information on using variables with these tasks, and that was not provided.

Bishoy on 4/23/2009
It would be useful to talk about using UNC, if possible, within an SSIS package.

sarabjeet on 4/25/2009
good

khurram bhatti on 5/24/2009
Greate file system task intro...

Mike on 6/5/2009
good man

vin lawrence on 6/5/2009
Good but basic

Charles Oesterle on 6/5/2009
I would like more about use of variables when moving files by adding a date/time to the file name.

janet macdonald on 6/5/2009
spoke too fast....I couldn't understand a lot of what he was saying; couldn't see a lot of what he was doing until he enlarged some window pics.

Craig A. Silvis on 6/5/2009
how do you add a date time stamp to the renamed file?

Philip Hickey on 6/5/2009
Great video with quick examples

James Majcen on 6/5/2009
How did you know that I needed to figure out file renaming for a project today?

Gary Wilson on 6/5/2009
Voice is a little too fast. Good use of zoom to highlight screen areas.

Rubens on 6/5/2009
Keep the SSIS videos coming, love them!

Christian Bahnsen on 6/5/2009
another great video

Dick Rosenberg on 6/5/2009
Ditto on the data time. I would like a video on how to go through a series of files named, say, Sales_East.txt, Sales_Midwest.txt and Sales_West.txt, put them all in a staging table, AND move each one to an archive folder while appending the date and time to the file name so it comes out Sales_East060520091032.txt, Sales_Midwest060520091033.txt, etc.

denny on 6/5/2009
Can you move folders to another destination if say the folder has the word closed at the end of the folder name?

David Burnett on 6/5/2009
the speaking is a little fast and more real world examples a the end.

Jamshid Nouri on 6/5/2009
short and excellent demo

Tim Harms on 6/5/2009
1 day too late. I spent yesterday trying to figure out how to do this. I think the tricky part of what I was doing though is rename the file based on a variable and a timestamp. Otherwise, good video. Thanks!

Josef on 6/10/2009
This example package was run locally. Try installing the package on a server and scheduling it and see how well it works. You will run into permisions issues with file system and even permissions to read the .net assemblies if you are running .Net script. This is how most developers will use and there is very little on how to accomplish this without running into a world of pain.

Megha on 6/11/2009
Nice one

John Rowell on 6/17/2009
Too fast.

BJ on 6/17/2009
good stuff to know!

John Rowell on 6/17/2009
Can SSIS use wildcards to locate the files to feed the task?

Angelo Cook on 6/17/2009
Most people should know how to do this. You should have focused on something a bit more complicated.

Prashant Thakwani on 6/17/2009
This was simple and easy but valuable. Good to see couple of test cases.

Prashant Thakwani on 6/17/2009
How abt the network path in place of the local path ? Will that work there as well.

Travis on 6/18/2009
I cannot believe this guy is considered to be such an expert in SQL Server and have such terrible speaking skills...

Julie Breutzmann on 6/18/2009
Nice, quick examples

Carney Clegg on 6/23/2009
Good video, Thanks for sharing it.

Tina on 7/1/2009
Loved the step by step instructions. Thanks

Raymond Anders on 7/8/2009
would have liked it to include the check if a file existed

vasu contact on 7/12/2009
I would have been nice ahd it demonstrated the variable destination. I think that was demoed in a different video.

Kishor Bandi on 7/13/2009
It was quite helpful

Kristeen Sellers on 7/13/2009
Had already used Move, Copy and Delete. Didn't know what Rename would. Very helpful

Jay Ravindran on 7/15/2009
Good work...keep goin....

Rajesh on 9/11/2009
Nice one!

recobasi on 9/11/2009
thankss

sirandas on 9/18/2009
shows only basic file operations, would be intersting to see how to pass other variables to append to the filename

Jim on 9/22/2009
Good basic stuff. You move your mouse a little fast at times, and the thing we really need is the variables stuff, but I finally figured it out.

Richard Ray on 10/3/2009
I'd like to have seen how to use a var as part of the new filename for the Rename File task. I'd like to append a date-time stamp to my archived file. I can figure it out, I'm certain, but it would have been a good addition.

yashpal on 10/5/2009
gr8,Keep sending such stuff

Ron on 10/22/2009
too fast

Cole Knight on 12/3/2009
Could have gone a little into how to add date/time stamp on the file when you rename it instead of the hard-coding. But still a pretty good video.

JR on 12/7/2009
What about creating a file with the date created as part of the file name?

Roger on 1/6/2010
very helpfull, thank you!

John on 1/27/2010
The images appear fuzzy on my system, despite my hires screen

David Oesterreich on 2/12/2010
The guy should talk a little slower.

Kevin Taylor on 2/13/2010
Using the File System Task in SSIS - video, is great. ----------------- I have an issue where I use the RS command and xp_cmdshell in an SSIS package to export a report to excel for certain clients who have up to 150 fleets, each excel fleet file going to each fleets folder (folder: Fleet1, folder: Fleet2). The issue I am experiencing is that when the size of the exported file goes over 1.5 MB (2.1 MB in this case) and the file location for saving the file is on a network drive then file size is 0 kb. If I save the exported file locally on the report server then the file size is 2.1 MB (it works). If I schedule the same report via a subscription and the file location for saving the file is on a network drive then file size is 2.1 MB (it works). The RS command uses a .RSS file (vbscript) so I assume this file might be the culprit. Can anyone assist. Email: sonyt65@yahoo.com

Michael Atkinson on 2/26/2010
Excellent!

Michael Atkinson on 2/26/2010
Excellent, but can I play it at half speed???

Cathy Dellaert on 3/8/2010
hard coding file names is a no brainer better to show example with variables and dynamic file names

Bharath on 3/12/2010
What if I want to add a connection to the file on the network which involves network credientials.

Mukul Janeja on 3/13/2010
It will be nice to see how variables are used within connection to point to files such as *.xml and delete/rename/move.

James Florey on 6/27/2010
It doesn't show how to rename a file without moving it.

Furqan Iqbal on 6/28/2010
Way too Fast, Doesn't show where to set the Variables, just too fast.

SteverGee on 10/20/2010
good video - how do we ssis to copy all of the files in one folder to another folder?

MohanD on 10/21/2010
Keep posting good things

naveen on 10/25/2010
We need it for multiple files. Like move example on multiple files.

Steven on 10/26/2010
Bit too fast

Sridhar on 12/16/2010
Excellent

aldrin on 12/22/2010
Good video. Very helpful.

Joe DeMarco on 12/22/2010
I really wish the displayed content window were bigger, making the code easier to see as it is being shown.

Harold on 12/22/2010
Very good. If an option is discussed, it should be shown (variables)

Marcelo Marim on 12/22/2010
A bit too fast. You could take it a little bit slow like a minute or two more. But in general it was good stuff...

Jamshid Nouri on 12/22/2010
excellent ssis filesys demo. short and very effective example.

Dan McCrady on 12/22/2010
great subject, poor presentation.

FELIX on 12/22/2010
Excellent video!

Derek on 12/22/2010
Very useful. My only complaint is that the instructor is moving extremely fast through this, so it is hard to keep up.

Jay Stobbe on 12/22/2010
very blurry but very informative

Thomas Kelley on 12/22/2010
Thanks for taking the time to provide this info. I know it's basic stuff, but please slow down a litte.

Mick on 12/22/2010
I liked the added effects (zoom in, red arrow, highlighter, etc)

Alexandria Derks on 12/22/2010
Too small and too fast.

Talha on 12/23/2010
I dont know something was strange about host. I think he was going to fast and I am used to Andy's voice. Ahaaa! now i get it. His microphone, if he adjusts the volume so that there is less noise and pitch in it and slows down his presentation just a little bit. It would be great.

Rod on 1/4/2011
Is it possible to print a file, using this?

Rudy Nichols on 1/11/2011
Should have examples of working with dynamic variables too...

Maurice Ivory on 2/11/2011
It was cool....

vv good

amulya on 4/22/2011
Great presentation.Very helpful..Thanks!!

Howard Rosen on 5/11/2011
I would have liked to see renaming a file with a timestamp apended to it

Richard Hajinlian on 5/31/2011
Excellent videos. But Brian has to slow down on the coffee intake before recording these videos :-) (talks and runs threw the examples way to fast). Thanks for your work though. Excellent material. Rich

alf mixnude on 6/1/2011
excellent.. help me full.. thanks..

Robert Turner on 8/13/2011
Good demo, Thanks

Axil Thornburger on 8/22/2011
the announcer spoke waaaay to fast. Since the task being reviewed is a very simple function and the fact that I am unfamiliar with the software (This would probably be the primary audience for this task). it seems to me he would slow down just a bit.

chinna on 9/26/2011
if you some knowled on variable , dynamically add date on the rename

Dhanson on 10/25/2011
nice simple video with 1 topic covered. Keep them up

Dennis Walker on 10/25/2011
How about rename to include a time stamp?

Mike Nicholas on 10/25/2011
Very nice, thank you Brian. Makes me wonder how to deal with handling multiple files at once vs just a single file.

David Walker on 10/25/2011
Choppy video

Thirunavukkarasu on 10/26/2011
good

Frank on 11/7/2011
Good and Fast

Steven Robinson on 11/8/2011
Great video, great instructor. very very useful

Thirunavukkarasu on 11/18/2011
nice renaming,moving,deleting the file

Rizwan Gulamhussein on 11/18/2011
This was great! Can you show how to dynamically rename moved files that were processed to include the processed date?

Billy Watt on 11/18/2011
Presenter speaks too quickly

62EBA39EA8 on 11/18/2011
Great tips, presented quickly and concisely.

John O'Sullivan on 11/19/2011
a good introduction

Steven Robinson on 11/21/2011
Very good video, useful for a number of projects I will be doing soon!

ML Stephens on 11/21/2011
needed this

Leon on 11/25/2011
Usefull, but very quick, and zooming in and out.

prakash on 11/26/2011
Excellent

prakash chheatry on 11/30/2011
excellent

Shashank Banerjea on 11/30/2011
I wish for a follow up video, where you could rename the file using a pattern. For example dynamically add a date or a time stamp to the name.

Bruce Bealer on 11/30/2011
Way too fast. Could not keep up and follow the moves. If the videos continue to be this fast I will stop watching them.

Huonglien Nguyen on 12/1/2011
It would be nice if the video can play smoothly without a lot of stop and start.

Kris Robinett on 12/5/2011
This presenter talks way too fast. Luckily this is not a very complex function of SSIS.

vijay on 12/7/2011
very nice........... vijay raj gupta

satish on 1/10/2012
Nice Video

Nagarajan on 1/11/2012
Nice video, thanks boss

Tom McMaster on 1/28/2012
Simple explanation that's clear and makes sense. Well done.

avanish on 5/25/2012
Nice vedio



Must Be Logged In
 

How Do I Become a Video Author? |  Newsletter History

Copyright © Fourdeuce, Inc., 2005-2009. All Rights Reserved | Privacy Policy | Terms & Conditions