![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Can I programically change the Directory Path property for where the FTP package downloads the file? Or must it be specified in the Package as is? My package code... package.LoadFromSQLServer("servername", "Data Loader User", "", DTSSQLServerStorageFlags.DTSSQLStgFlag_Default, null, null, null, "My |
|
package.Execute(); package.UnInitialize(); |
#3
| |||
| |||
|
|
Are you looking to change the SourceFileName property of the DTSFTPTask object? One of the best ways I think to understand how these things hook together is to create a package and the save it out to a VB Module. You can then look in the code for the properties in which you are interested. You then adapt them to your needs in your code. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Dave" <Dave (AT) discussions (DOT) microsoft.com> wrote in message news:FDE68060-6D9F-4B0E-8ED4-A0960573C0D6 (AT) microsoft (DOT) com... Can I programically change the Directory Path property for where the FTP package downloads the file? Or must it be specified in the Package as is? My package code... package.LoadFromSQLServer("servername", "Data Loader User", "", DTSSQLServerStorageFlags.DTSSQLStgFlag_Default, null, null, null, "My Package Name", ref pVarPersistStgOfHost); package.Execute(); package.UnInitialize(); |
![]() |
| Thread Tools | |
| Display Modes | |
| |