all groups > sql server dts > may 2005 >
You're in the

sql server dts

group:

Text File Connection ... can it be dynamic


Re: Text File Connection ... can it be dynamic Allan Mitchell
5/4/2005 12:00:00 AM
sql server dts:
You never mentioned FTP

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


[quoted text, click to view]

Re: Text File Connection ... can it be dynamic Darren Green
5/4/2005 12:00:00 AM
Why not do a wildcard download for the files, then use the Looping
example to load all files you have.



In message <34A4D4F7-EC1F-4B36-8022-86ADE2118C18@microsoft.com>, Warren
<Warren@discussions.microsoft.com> writes
[quoted text, click to view]

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
Re: Text File Connection ... can it be dynamic Allan Mitchell
5/4/2005 12:00:00 AM
Then this should help you

How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


[quoted text, click to view]

Re: Text File Connection ... can it be dynamic Allan Mitchell
5/4/2005 12:00:00 AM
Then can you not use this

Looping, Importing and Archiving
(http://www.sqldts.com/default.aspx?246)

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


[quoted text, click to view]

Text File Connection ... can it be dynamic Warren
5/4/2005 1:14:03 PM
I am trying to figure out if I can build a dynamic text file connection in
the DTS Designer. The datasource will be a text file, but the name will
change...

Any pointer or links to articles would be helpful...

Re: Text File Connection ... can it be dynamic Warren
5/4/2005 1:48:06 PM
The issue I am trying to figure out is that I will not know the name of the
file on the remote server until I connect to it.

I will open a connection to the remote Server, look into a directory.
I will then see anywhere from 1 to several files,
I will then need to download each file and DTS the info in each one for our
database.

I was first thinking I could get a list of the files from the remote server.
(Have to figure out how to do that via SQL Server or similar means...)
Once I have that I would iterate through each file and delete them when i
was done..



[quoted text, click to view]
Re: Text File Connection ... can it be dynamic Warren
5/4/2005 2:16:06 PM
Trying to figure out this code sample:
http://www.sqldts.com/default.aspx?302

Has anyone used this ?



[quoted text, click to view]
Re: Text File Connection ... can it be dynamic Warren
5/4/2005 2:33:01 PM
Unless I am reading this wrong, this is a fso which does not support FTP...
Since I have to connect to a remote server via FTP, I cannot use the FSO
tools...



[quoted text, click to view]
AddThis Social Bookmark Button