Dynamic FTP Connection
- From: "kiran" <kiran.gazz@xxxxxxxxx>
- Date: 28 Aug 2006 05:23:04 -0700
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
.
- Prev by Date: RE: ActiveX Error possibly from global variables?
- Next by Date: DTS handling bad dates
- Previous by thread: Re: t
- Next by thread: Re: Dynamic FTP Connection
- Index(es):
Relevant Pages
|