Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Auotmating files from FTP to SQL

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-12-03 : 07:57:46
Goh writes "I am using DTS to auotmate the loading of text files from a FTP site to a table in SQL. I need to schedule it on the daily but the problem is the name of the files is different daily. How do I use the dynamic property task to select the file which i wanted daily?"

nr
SQLTeam MVY

12543 Posts

Posted - 2004-12-03 : 08:54:13
Try this
http://www.nigelrivett.net/s_ftp_PutFile.html

It's for a put but the get is similar.
To see what is on the site and select files
http://www.nigelrivett.net/s_ftp_GetDir.html

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -