Charles Kangai wrote:
> Create your FTP connection manager (with static values). Create a package
> configuration by selecting Package Configurations from the SSIS menu, then
> export the ConnectionString, ServerName, ServerPassword and ServerUserName
> properties of the FTP connection manager to the package configuration
> location. Save your package configuration to an XML file or to a SQL Server
> table, because they allow multiple values to be saved.
>
> Each time you want new values for ServerName, ServerPassword, etc. you just
> enter them into the configuration file or SQL Server table. This way your
> package will run dynamically with the whatever values you have saved in your
> package configuration.
>
> The SSIS tutorial also shows you how to create a package configuration.
>
> Hope this helps.
>
> Charles Kangai, MCT, MCDBA
>
> Author of Learning Tree's 4-day course: "SQL Server 2005 Integration
> Services" URL:
http://www.learningtree.com/courses/134.htm > Author of Learning Tree's 4-day course: "SQL Server Reporting Services" URL:
>
http://www.learningtree.com/courses/523.htm >
>
>
>
>
>
> "kiran" wrote:
>
> > Hello ,
> > I wanted to know how to make a dynamic FTP Connection. My
> > FTP Server will be having a FTP server Name , File path, FTP Server
> > Name, FTP User Name, FTP Password. Our Database maintains different FTP
> > servers for different clients.In DTS we used below code in activex
> > script task to connect to the FTP Dynamically.
> >
> >
> > "Set objTask =
> > objPackage.Tasks(cstr("DTSTask_DTSFTPTask_2")).CustomTask
> >
> > objTask.SourceLocation = 0
> > objTask.sourcesite = DTSGlobalVariables("g_str_ftpservername").Value
> > objTask.SourceUsername = DTSGlobalVariables("g_str_ftpusername").Value
> > objTask.SourcePassword = DTSGlobalVariables("g_str_ftppassword").Value
> > objTask.NonOverwritable = False
> > objTask.SourceFilename = srcFiles
> > objTask.destsite = DTSGlobalVariables("g_str_filelocation").Value
> >
> > Now we are migrating our workflows to SSIS (SQL Server
> > 2005). The problem is we are unable to find solution for dynamically
> > connecting to FTP Server which maintains a password.
> > Can any body help please.
> > Thanks,
> > Kiran G
> >
> >
It was really useful.It is working..
Thank You.
local (through SSIS FTP Task). I have 2 questions to ask you.
1. I have Downloaded a file of 5.5 MB from FTP Server to Local through
(SSIS FTP Task).It took nearly 4 Minutes 20 seconds (Nearly). Is there
2. I have a set of Files to download from an FTP.I am using FTP Task
delay. is there any method through which i can call the FTP task only