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

Takes Query Plan Analysis and Performance Monitoring to a New Level

Secure FTP File Transfer in SSIS

Unfortunately, there are no native components in SSIS to support the secure (SFTP) transfer of files. This video will demonstrate an effective workaround use a free Secure FTP program.

Duration:
3 mins 49 secs
Skill Level:
100
Rating:
4.34 out of 5
Publish Date:
April 15, 2009
Secure FTP File Transfer 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 Tim Mitchell
Tim Mitchell is a Microsoft SQL Server database developer, business intelligence consultant, writer, and speaker. He has been working professionally with SQL Server for over six years, and holds the MCTS and MCDBA certifications from Microsoft as well as a Bachelor's degree in computer science from Texas A&M University - Commerce.

References



Comments
Dav on 5/28/2009
please provide a link to the psftp executable

Tim Mitchell on 6/3/2009
Dav, here's a link to the PSFTP executable: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Frank Luke on 6/3/2009
thanks, great job

Good news flash ...

Gina Meronek on 7/14/2009
Very useful info!

Gina Meronek on 7/14/2009
Supporting code link does not work, however.

Norma Hutchinson on 7/14/2009
I really needed this. Thanks!

Mr Jezba on 7/14/2009
Fantastic

Jamshid Nouri on 7/14/2009
excellent demo

Mark Redfern on 7/15/2009
where do you get psftp from?

manish on 7/15/2009
was good video

Brian K McDonald on 7/15/2009
Mark, read above and the link is provided. :)

995751D667 on 7/15/2009
terrific, and straight-forward

Travis on 7/16/2009
Just curious, why can't you use the SSIS FTP task already in SQL Server 2005 & 2008 instead of your third party tool? It appears to do the same thing, plus the 2008 version allows you to run in passive mode too which deals with firewall filtering..

Dinesh Pendlimarri on 7/17/2009
Very nice.

ANITA on 7/17/2009
Very detailed explation of ftp process.

Tim Mitchell on 7/17/2009
Travis, you're correct that the FTP task in SSIS works very well, but it does not support SFTP (secure FTP) connections. This video demonstrates a workaround for that.

Kristeen Sellers on 7/17/2009
The commentator was a little quiet. I had the volume all the way up and had difficulty hearing him.

TechyGirl on 8/4/2009
good video. nice job!

Law on 9/3/2009
nice to know that

Tonci on 10/14/2009
Great! I guess this works each time you need to run a program from shell, command line, command prompt, etc.

Harish on 12/3/2009
Can't believe people still complain even though going through from such a good demo. Grow up Kristeen

manohar on 12/29/2009
excellent !

Scott Stauffer on 1/15/2010
If you want to get the output try calling "cmd.exe /c PSFTP.exe {PARAMETERS} > DirectoryOutput.txt" THis will allow you parse the remote dir and drop it in a database . Now add compare logic and determine if a file transfer is still in progress from the person dropping the file for you to pick up. Do this by grabbing list, wait 5-10 minutes, if file size changed, then file is still in progress, wait longer... If the drop is delayed have it send and email to your service provider telling them they have an SLA issue, and they will be penalized :)

Charlie Bruno on 2/23/2010
learned something new....

Ramgopal on 3/5/2010
nic one

Darcy on 3/25/2010
Very explicit. Very helpful.

Arun on 4/1/2010
Good video

Todd Burrell on 5/19/2010
I've seen screen shots of using psftp on another site, but the video helps explain it a lot more. Now all I have to do if figure out to how specify variables/expression for the file names to send since they are dynamic (date dependent) rather than using the ans files in the demo.

Anjali on 6/9/2010
hi this is working fine. but when i deployed this in sql server 2005 and try to run it from sql server job it hangs. Please suggest what to do?

karan on 6/14/2010
its very good and helpfull for the DBA

jliveston on 6/17/2010
Great

Harold on 12/22/2010
Very useful.

Libby on 2/11/2011
Good, but I would rather the video showed how to include a file in the arguments rather than the actual commands with the username and password information.

2C801A3699 on 6/7/2011
good

John O'Sullivan on 7/21/2011
an excellent video

Bhavana Singh on 8/1/2011
good

Shirley on 8/5/2011
Hi there I received this error [Execute Process Task] Error: In Executing "C:\psftp.exe" "10.7.50.111 -P 22 -l domain\sql_service -pw Password -batch -b d:\folder\Backup\ftp_in.ans" at "D:\Backup\srouce\DEV\folder", The process exit code was "1" while the expected was "0". Any idea what I'm doing wrong?

YSR on 10/2/2011
Is it possible to change the port no from 21 to 22 for SFTP in FTP task ? Will it work?

ishwarya on 10/10/2011
I have got the same error as Shirley got "[Execute Process Task] Error: In Executing "C:\psftp.exe" "10.7.50.111 -P 22 -l domain\sql_service -pw Password -batch -b d:\folder\Backup\ftp_in.ans" at "D:\Backup\srouce\DEV\folder", The process exit code was "1" while the expected was "0". Any idea what I'm doing wrong?" Can you please tell me whats wrong in it?

James Moore on 11/22/2011
Excellent! Just what I was looking for to complete a project I'm working on. Thank you for sharing.

Mike Nicholas on 12/16/2011
Very practical example. Thank you!

Jason Yousef on 12/16/2011
Thanks

Michael on 12/16/2011
Wonderfully valuable information!

Dan on 12/16/2011
Crystal clear - great diction!

Steve Harris on 12/16/2011
Great and pratical.

Phil Rothenberg on 12/16/2011
Very good presentation. I've been using psftp in SSIS for a couple of years and it's a pretty easy and cost-effective way to do secure file transfers within SSIS.

Eric on 12/16/2011
Very useful workaround, and quite simple presentation. Effective.

Michelle Poolet on 12/16/2011
Oh boy! Back to the dirty dark days of DOS FTP! And to think, I had almost forgotten how to do this...but seriously, thanks for letting us know that there IS a way (however rudimentary) to FTP via SSIS.

Yelena on 12/16/2011
Very informative. Good video! Thanks!

Kris Robinett on 12/16/2011
very helpful info

chandrasekhar on 12/16/2011
useful video on Secure FTP File Transfer in SSIS

Anthony Siciliano on 12/16/2011
Thanks for the tips!

dinesh on 12/16/2011
sir, can u explain me how to export and import in between servers..thanks by dinesh...

Mike on 12/16/2011
Overly simple as this assumes you normally use PSFTP manually. The work comes with the initial setup.

Peter on 12/17/2011
very nice

kibrom on 12/18/2011
Thanks for the video.

Sal Urbano on 1/12/2012
General comment pertaining to all videos in that you should also have printable pdf file pertaining to the video.

Steven Durette on 4/4/2012
Should also show using certificates.

Bharanendra on 4/24/2012
g8 one..helped me a lot

erick on 4/24/2012
cool alternative!

coquimba on 4/30/2012
It's great that you made this video available

Arunav on 11/16/2012
Great post! I was trying to have it done by WinSCP and wasted my time there , this one worked great with PSFTP.

test on 12/11/2012
Good example. But having issues with schedule a job



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