Created
October 20, 2013 02:50
-
-
Save beaudierman/7064336 to your computer and use it in GitHub Desktop.
Hack for using an FTP Connection Manager in an SSIS package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object ftpConnectionManager = (object)Dts.Connections["FTP Connection Manager"]; | |
string user = "user"; | |
string pass = "pass"; | |
Dts.Connections["FTP Connection Manager"].Properties["ServerUserName"].SetValue(ftpConnectionManager, user); | |
Dts.Connections["FTP Connection Manager"].Properties["ServerPassword"].SetValue(ftpConnectionManager, pass); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment